Struct rgsl::types::result::ResultE10 [−][src]
Expand description
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: f64Contains the value.
err: f64Contains an estimate of the absolute error in the value.
e10: i32Exponent field such that the actual result is obtained as result * 10^(e10).
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ResultE10
impl UnwindSafe for ResultE10
Blanket Implementations
Mutably borrows from an owned value. Read more