[][src]Static lexical::FLOAT_ROUNDING

#[no_mangle]
pub static mut FLOAT_ROUNDING: RoundingKind

The rounding scheme for float conversions.

This defines the global rounding-scheme for float parsing operations. By default, this is set to RoundingKind::NearestTieEven. IEEE754 recommends this as the default for all for decimal and binary operations.

Safety

Do not modify this value in threaded-code, as it is not thread-safe. See the documentation for RoundingKind for the permissible values of FLOAT_ROUNDING in FFI-code.