Audacity 3.2.0
Public Member Functions | Static Public Member Functions | List of all members
fast_float::binary_format< T > Struct Template Reference

#include <fast_float.h>

Public Member Functions

constexpr int mantissa_explicit_bits ()
 
constexpr int mantissa_explicit_bits ()
 
constexpr int max_exponent_round_to_even ()
 
constexpr int max_exponent_round_to_even ()
 
constexpr int min_exponent_round_to_even ()
 
constexpr int min_exponent_round_to_even ()
 
constexpr int minimum_exponent ()
 
constexpr int minimum_exponent ()
 
constexpr int infinite_power ()
 
constexpr int infinite_power ()
 
constexpr int sign_index ()
 
constexpr int sign_index ()
 
constexpr int min_exponent_fast_path ()
 
constexpr int min_exponent_fast_path ()
 
constexpr int max_exponent_fast_path ()
 
constexpr int max_exponent_fast_path ()
 
constexpr uint64_t max_mantissa_fast_path ()
 
constexpr uint64_t max_mantissa_fast_path ()
 
constexpr double exact_power_of_ten (int64_t power)
 
constexpr float exact_power_of_ten (int64_t power)
 
constexpr int largest_power_of_ten ()
 
constexpr int largest_power_of_ten ()
 
constexpr int smallest_power_of_ten ()
 
constexpr int smallest_power_of_ten ()
 
constexpr size_t max_digits ()
 
constexpr size_t max_digits ()
 

Static Public Member Functions

static constexpr int mantissa_explicit_bits ()
 
static constexpr int minimum_exponent ()
 
static constexpr int infinite_power ()
 
static constexpr int sign_index ()
 
static constexpr int min_exponent_fast_path ()
 
static constexpr int max_exponent_fast_path ()
 
static constexpr int max_exponent_round_to_even ()
 
static constexpr int min_exponent_round_to_even ()
 
static constexpr uint64_t max_mantissa_fast_path ()
 
static constexpr int largest_power_of_ten ()
 
static constexpr int smallest_power_of_ten ()
 
static constexpr T exact_power_of_ten (int64_t power)
 
static constexpr size_t max_digits ()
 

Detailed Description

template<typename T>
struct fast_float::binary_format< T >

Definition at line 322 of file fast_float.h.

Member Function Documentation

◆ exact_power_of_ten() [1/3]

template<typename T >
static constexpr T fast_float::binary_format< T >::exact_power_of_ten ( int64_t  power)
inlinestaticconstexpr

Referenced by fast_float::from_chars_advanced().

Here is the caller graph for this function:

◆ exact_power_of_ten() [2/3]

constexpr double fast_float::binary_format< double >::exact_power_of_ten ( int64_t  power)
inlineconstexpr

Definition at line 408 of file fast_float.h.

408 {
410}
constexpr fastfloat_really_inline int32_t power(int32_t q) noexcept
Definition: fast_float.h:1454
static constexpr double powers_of_ten_double[]
Definition: fast_float.h:316

References fast_float::detail::power(), and fast_float::powers_of_ten_double.

Here is the call graph for this function:

◆ exact_power_of_ten() [3/3]

constexpr float fast_float::binary_format< float >::exact_power_of_ten ( int64_t  power)
inlineconstexpr

Definition at line 412 of file fast_float.h.

412 {
413
415}
static constexpr float powers_of_ten_float[]
Definition: fast_float.h:319

References fast_float::detail::power(), and fast_float::powers_of_ten_float.

Here is the call graph for this function:

◆ infinite_power() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::infinite_power ( )
inlinestaticconstexpr

Referenced by fast_float::round().

Here is the caller graph for this function:

◆ infinite_power() [2/3]

constexpr int fast_float::binary_format< double >::infinite_power ( )
inlineconstexpr

Definition at line 368 of file fast_float.h.

368 {
369 return 0x7FF;
370}

◆ infinite_power() [3/3]

constexpr int fast_float::binary_format< float >::infinite_power ( )
inlineconstexpr

Definition at line 371 of file fast_float.h.

371 {
372 return 0xFF;
373}

◆ largest_power_of_ten() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::largest_power_of_ten ( )
inlinestaticconstexpr

◆ largest_power_of_ten() [2/3]

constexpr int fast_float::binary_format< double >::largest_power_of_ten ( )
inlineconstexpr

Definition at line 419 of file fast_float.h.

419 {
420 return 308;
421}

◆ largest_power_of_ten() [3/3]

constexpr int fast_float::binary_format< float >::largest_power_of_ten ( )
inlineconstexpr

Definition at line 423 of file fast_float.h.

423 {
424 return 38;
425}

◆ mantissa_explicit_bits() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::mantissa_explicit_bits ( )
inlinestaticconstexpr

Referenced by fast_float::positive_digit_comp(), fast_float::round(), fast_float::to_extended(), and fast_float::to_float().

Here is the caller graph for this function:

◆ mantissa_explicit_bits() [2/3]

constexpr int fast_float::binary_format< double >::mantissa_explicit_bits ( )
inlineconstexpr

Definition at line 338 of file fast_float.h.

338 {
339 return 52;
340}

◆ mantissa_explicit_bits() [3/3]

constexpr int fast_float::binary_format< float >::mantissa_explicit_bits ( )
inlineconstexpr

Definition at line 341 of file fast_float.h.

341 {
342 return 23;
343}

◆ max_digits() [1/3]

template<typename T >
static constexpr size_t fast_float::binary_format< T >::max_digits ( )
inlinestaticconstexpr

Referenced by fast_float::digit_comp().

Here is the caller graph for this function:

◆ max_digits() [2/3]

constexpr size_t fast_float::binary_format< double >::max_digits ( )
inlineconstexpr

Definition at line 436 of file fast_float.h.

436 {
437 return 769;
438}

◆ max_digits() [3/3]

constexpr size_t fast_float::binary_format< float >::max_digits ( )
inlineconstexpr

Definition at line 439 of file fast_float.h.

439 {
440 return 114;
441}

◆ max_exponent_fast_path() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::max_exponent_fast_path ( )
inlinestaticconstexpr

◆ max_exponent_fast_path() [2/3]

constexpr int fast_float::binary_format< double >::max_exponent_fast_path ( )
inlineconstexpr

Definition at line 393 of file fast_float.h.

393 {
394 return 22;
395}

◆ max_exponent_fast_path() [3/3]

constexpr int fast_float::binary_format< float >::max_exponent_fast_path ( )
inlineconstexpr

Definition at line 396 of file fast_float.h.

396 {
397 return 10;
398}

◆ max_exponent_round_to_even() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::max_exponent_round_to_even ( )
inlinestaticconstexpr

◆ max_exponent_round_to_even() [2/3]

constexpr int fast_float::binary_format< double >::max_exponent_round_to_even ( )
inlineconstexpr

Definition at line 345 of file fast_float.h.

345 {
346 return 23;
347}

◆ max_exponent_round_to_even() [3/3]

constexpr int fast_float::binary_format< float >::max_exponent_round_to_even ( )
inlineconstexpr

Definition at line 349 of file fast_float.h.

349 {
350 return 10;
351}

◆ max_mantissa_fast_path() [1/3]

template<typename T >
static constexpr uint64_t fast_float::binary_format< T >::max_mantissa_fast_path ( )
inlinestaticconstexpr

◆ max_mantissa_fast_path() [2/3]

constexpr uint64_t fast_float::binary_format< double >::max_mantissa_fast_path ( )
inlineconstexpr

Definition at line 400 of file fast_float.h.

400 {
401 return uint64_t(2) << mantissa_explicit_bits();
402}
static constexpr int mantissa_explicit_bits()

◆ max_mantissa_fast_path() [3/3]

constexpr uint64_t fast_float::binary_format< float >::max_mantissa_fast_path ( )
inlineconstexpr

Definition at line 403 of file fast_float.h.

403 {
404 return uint64_t(2) << mantissa_explicit_bits();
405}

◆ min_exponent_fast_path() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::min_exponent_fast_path ( )
inlinestaticconstexpr

◆ min_exponent_fast_path() [2/3]

constexpr int fast_float::binary_format< double >::min_exponent_fast_path ( )
inlineconstexpr

Definition at line 378 of file fast_float.h.

378 {
379#if (FLT_EVAL_METHOD != 1) && (FLT_EVAL_METHOD != 0)
380 return 0;
381#else
382 return -22;
383#endif
384}

◆ min_exponent_fast_path() [3/3]

constexpr int fast_float::binary_format< float >::min_exponent_fast_path ( )
inlineconstexpr

Definition at line 385 of file fast_float.h.

385 {
386#if (FLT_EVAL_METHOD != 1) && (FLT_EVAL_METHOD != 0)
387 return 0;
388#else
389 return -10;
390#endif
391}

◆ min_exponent_round_to_even() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::min_exponent_round_to_even ( )
inlinestaticconstexpr

◆ min_exponent_round_to_even() [2/3]

constexpr int fast_float::binary_format< double >::min_exponent_round_to_even ( )
inlineconstexpr

Definition at line 353 of file fast_float.h.

353 {
354 return -4;
355}

◆ min_exponent_round_to_even() [3/3]

constexpr int fast_float::binary_format< float >::min_exponent_round_to_even ( )
inlineconstexpr

Definition at line 357 of file fast_float.h.

357 {
358 return -17;
359}

◆ minimum_exponent() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::minimum_exponent ( )
inlinestaticconstexpr

Referenced by fast_float::positive_digit_comp(), and fast_float::to_extended().

Here is the caller graph for this function:

◆ minimum_exponent() [2/3]

constexpr int fast_float::binary_format< double >::minimum_exponent ( )
inlineconstexpr

Definition at line 361 of file fast_float.h.

361 {
362 return -1023;
363}

◆ minimum_exponent() [3/3]

constexpr int fast_float::binary_format< float >::minimum_exponent ( )
inlineconstexpr

Definition at line 364 of file fast_float.h.

364 {
365 return -127;
366}

◆ sign_index() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::sign_index ( )
inlinestaticconstexpr

Referenced by fast_float::to_float().

Here is the caller graph for this function:

◆ sign_index() [2/3]

constexpr int fast_float::binary_format< double >::sign_index ( )
inlineconstexpr

Definition at line 375 of file fast_float.h.

375{ return 63; }

◆ sign_index() [3/3]

constexpr int fast_float::binary_format< float >::sign_index ( )
inlineconstexpr

Definition at line 376 of file fast_float.h.

376{ return 31; }

◆ smallest_power_of_ten() [1/3]

template<typename T >
static constexpr int fast_float::binary_format< T >::smallest_power_of_ten ( )
inlinestaticconstexpr

◆ smallest_power_of_ten() [2/3]

constexpr int fast_float::binary_format< double >::smallest_power_of_ten ( )
inlineconstexpr

Definition at line 428 of file fast_float.h.

428 {
429 return -342;
430}

◆ smallest_power_of_ten() [3/3]

constexpr int fast_float::binary_format< float >::smallest_power_of_ten ( )
inlineconstexpr

Definition at line 432 of file fast_float.h.

432 {
433 return -65;
434}

The documentation for this struct was generated from the following file: