![]() |
Prusa Slicer 2.6.0
|
Functions | |
| fastfloat_really_inline int | power (int q) noexcept |
| void | trim (decimal &h) |
| uint32_t | number_of_digits_decimal_left_shift (const decimal &h, uint32_t shift) |
| uint64_t | round (decimal &h) |
| void | decimal_left_shift (decimal &h, uint32_t shift) |
| void | decimal_right_shift (decimal &h, uint32_t shift) |
| template<typename T > | |
| from_chars_result | parse_infnan (const char *first, const char *last, T &value) noexcept |
| template<typename T > | |
| fastfloat_really_inline void | to_float (bool negative, adjusted_mantissa am, T &value) |
References fast_float::decimal::decimal_point, fast_float::decimal::digits, fast_float::decimal::num_digits, number_of_digits_decimal_left_shift(), trim(), and fast_float::decimal::truncated.
Referenced by fast_float::compute_float().
Here is the call graph for this function:
Here is the caller graph for this function:References fast_float::decimal::decimal_point, fast_float::decimal::digits, fast_float::decimal::negative, fast_float::decimal::num_digits, trim(), and fast_float::decimal::truncated.
Referenced by fast_float::compute_float().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References fast_float::decimal::digits, and fast_float::decimal::num_digits.
Referenced by decimal_left_shift().
Here is the caller graph for this function:
|
noexcept |
Special case +inf, -inf, nan, infinity, -infinity. The case comparisons could be made much faster given that we know that the strings a null-free and fixed.
References fast_float::from_chars_result::ec, fast_float::fastfloat_strncasecmp(), and fast_float::from_chars_result::ptr.
Referenced by fast_float::from_chars_advanced().
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
For q in (0,350), we have that f = (((152170 + 65536) * q ) >> 16); is equal to floor(p) + q where p = log(5**q)/log(2) = q * log(5)/log(2)
For negative values of q in (-400,0), we have that f = (((152170 + 65536) * q ) >> 16); is equal to -ceil(p) + q where p = log(5**-q)/log(2) = -q * log(5)/log(2)
Referenced by fast_float::compute_float().
Here is the caller graph for this function:References fast_float::decimal::decimal_point, fast_float::decimal::digits, fast_float::decimal::num_digits, and fast_float::decimal::truncated.
Referenced by fast_float::compute_float().
Here is the caller graph for this function:| fastfloat_really_inline void fast_float::detail::to_float | ( | bool | negative, |
| adjusted_mantissa | am, | ||
| T & | value | ||
| ) |
References fast_float::adjusted_mantissa::mantissa, fast_float::binary_format< T >::mantissa_explicit_bits(), fast_float::adjusted_mantissa::power2, and fast_float::binary_format< T >::sign_index().
Referenced by fast_float::from_chars_advanced().
Here is the call graph for this function:
Here is the caller graph for this function:References fast_float::decimal::digits, and fast_float::decimal::num_digits.
Referenced by decimal_left_shift(), and decimal_right_shift().
Here is the caller graph for this function: