NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
fast_float::binary_format< T > Struct Template Reference

#include <float_common.h>

Collaboration diagram for fast_float::binary_format< T >:

Public Types

using equiv_uint = typename std::conditional< sizeof(T)==4, uint32_t, uint64_t >::type
 

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 ()
 
constexpr binary_format< float >::equiv_uint exponent_mask ()
 
constexpr binary_format< double >::equiv_uint exponent_mask ()
 
constexpr binary_format< float >::equiv_uint mantissa_mask ()
 
constexpr binary_format< double >::equiv_uint mantissa_mask ()
 
constexpr binary_format< float >::equiv_uint hidden_bit_mask ()
 
constexpr binary_format< double >::equiv_uint hidden_bit_mask ()
 

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 ()
 
static constexpr equiv_uint exponent_mask ()
 
static constexpr equiv_uint mantissa_mask ()
 
static constexpr equiv_uint hidden_bit_mask ()
 

Detailed Description

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

Definition at line 223 of file float_common.h.

Member Typedef Documentation

◆ equiv_uint

template<typename T >
using fast_float::binary_format< T >::equiv_uint = typename std::conditional<sizeof(T) == 4, uint32_t, uint64_t>::type

Definition at line 224 of file float_common.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

◆ exact_power_of_ten() [2/3]

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

Definition at line 314 of file float_common.h.

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 318 of file float_common.h.

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

Here is the call graph for this function:

◆ exponent_mask() [1/3]

template<typename T >
static constexpr equiv_uint fast_float::binary_format< T >::exponent_mask ( )
inlinestaticconstexpr

Referenced by fast_float::to_extended().

◆ exponent_mask() [2/3]

constexpr binary_format< float >::equiv_uint fast_float::binary_format< float >::exponent_mask ( )
inlineconstexpr

Definition at line 350 of file float_common.h.

◆ exponent_mask() [3/3]

constexpr binary_format< double >::equiv_uint fast_float::binary_format< double >::exponent_mask ( )
inlineconstexpr

Definition at line 354 of file float_common.h.

◆ hidden_bit_mask() [1/3]

template<typename T >
static constexpr equiv_uint fast_float::binary_format< T >::hidden_bit_mask ( )
inlinestaticconstexpr

Referenced by fast_float::to_extended().

◆ hidden_bit_mask() [2/3]

constexpr binary_format< float >::equiv_uint fast_float::binary_format< float >::hidden_bit_mask ( )
inlineconstexpr

Definition at line 368 of file float_common.h.

◆ hidden_bit_mask() [3/3]

constexpr binary_format< double >::equiv_uint fast_float::binary_format< double >::hidden_bit_mask ( )
inlineconstexpr

Definition at line 372 of file float_common.h.

◆ infinite_power() [1/3]

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

Referenced by fast_float::round().

◆ infinite_power() [2/3]

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

Definition at line 274 of file float_common.h.

◆ infinite_power() [3/3]

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

Definition at line 277 of file float_common.h.

◆ 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 325 of file float_common.h.

◆ largest_power_of_ten() [3/3]

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

Definition at line 329 of file float_common.h.

◆ mantissa_explicit_bits() [1/3]

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

◆ mantissa_explicit_bits() [2/3]

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

Definition at line 244 of file float_common.h.

◆ mantissa_explicit_bits() [3/3]

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

Definition at line 247 of file float_common.h.

◆ mantissa_mask() [1/3]

template<typename T >
static constexpr equiv_uint fast_float::binary_format< T >::mantissa_mask ( )
inlinestaticconstexpr

Referenced by fast_float::to_extended().

◆ mantissa_mask() [2/3]

constexpr binary_format< float >::equiv_uint fast_float::binary_format< float >::mantissa_mask ( )
inlineconstexpr

Definition at line 359 of file float_common.h.

◆ mantissa_mask() [3/3]

constexpr binary_format< double >::equiv_uint fast_float::binary_format< double >::mantissa_mask ( )
inlineconstexpr

Definition at line 363 of file float_common.h.

◆ 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().

◆ max_digits() [2/3]

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

Definition at line 342 of file float_common.h.

◆ max_digits() [3/3]

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

Definition at line 345 of file float_common.h.

◆ 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 299 of file float_common.h.

◆ max_exponent_fast_path() [3/3]

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

Definition at line 302 of file float_common.h.

◆ 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 251 of file float_common.h.

◆ max_exponent_round_to_even() [3/3]

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

Definition at line 255 of file float_common.h.

◆ 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 306 of file float_common.h.

◆ max_mantissa_fast_path() [3/3]

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

Definition at line 309 of file float_common.h.

◆ 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 284 of file float_common.h.

◆ min_exponent_fast_path() [3/3]

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

Definition at line 291 of file float_common.h.

◆ 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 259 of file float_common.h.

◆ min_exponent_round_to_even() [3/3]

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

Definition at line 263 of file float_common.h.

◆ minimum_exponent() [1/3]

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

◆ minimum_exponent() [2/3]

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

Definition at line 267 of file float_common.h.

◆ minimum_exponent() [3/3]

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

Definition at line 270 of file float_common.h.

◆ sign_index() [1/3]

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

Referenced by fast_float::to_float().

◆ sign_index() [2/3]

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

Definition at line 281 of file float_common.h.

◆ sign_index() [3/3]

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

Definition at line 282 of file float_common.h.

◆ 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 334 of file float_common.h.

◆ smallest_power_of_ten() [3/3]

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

Definition at line 338 of file float_common.h.


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