summaryrefslogtreecommitdiffstats
path: root/library/core/src/num/dec2flt/number.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/num/dec2flt/number.rs')
-rw-r--r--library/core/src/num/dec2flt/number.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/num/dec2flt/number.rs b/library/core/src/num/dec2flt/number.rs
index 405f7e7b6..8589e2bbd 100644
--- a/library/core/src/num/dec2flt/number.rs
+++ b/library/core/src/num/dec2flt/number.rs
@@ -33,6 +33,7 @@ pub struct Number {
impl Number {
/// Detect if the float can be accurately reconstructed from native floats.
+ #[inline]
fn is_fast_path<F: RawFloat>(&self) -> bool {
F::MIN_EXPONENT_FAST_PATH <= self.exponent
&& self.exponent <= F::MAX_EXPONENT_DISGUISED_FAST_PATH