Struct rgsl::types::result::ResultE10 [−][src]
In some cases, an overflow or underflow can be detected and handled by a function. In this case, it may be possible to return a scaling exponent as well as an error/value pair in order to save the result from exceeding the dynamic range of the built-in types.
Fields
val: f64
Contains the value.
err: f64
Contains an estimate of the absolute error in the value.
e10: i32
Exponent field such that the actual result is obtained as result * 10^(e10).
Methods
impl ResultE10
[src]
impl ResultE10
Trait Implementations
impl Clone for ResultE10
[src]
impl Clone for ResultE10
fn clone(&self) -> ResultE10
[src]
fn clone(&self) -> ResultE10
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ResultE10
[src]
impl Copy for ResultE10
impl Default for ResultE10
[src]
impl Default for ResultE10