SoPlex Documentation
Loading...
Searching...
No Matches
cache_accessor< float > Struct Reference

#include <format-inl.h>

Public Types

using carrier_uint = float_info<float>::carrier_uint
 
using cache_entry_type = uint64_t
 

Static Public Member Functions

static uint64_t get_cached_power (int k) FMT_NOEXCEPT
 
static carrier_uint compute_mul (carrier_uint u, const cache_entry_type &cache) FMT_NOEXCEPT
 
static uint32_t compute_delta (const cache_entry_type &cache, int beta_minus_1) FMT_NOEXCEPT
 
static bool compute_mul_parity (carrier_uint two_f, const cache_entry_type &cache, int beta_minus_1) FMT_NOEXCEPT
 
static carrier_uint compute_left_endpoint_for_shorter_interval_case (const cache_entry_type &cache, int beta_minus_1) FMT_NOEXCEPT
 
static carrier_uint compute_right_endpoint_for_shorter_interval_case (const cache_entry_type &cache, int beta_minus_1) FMT_NOEXCEPT
 
static carrier_uint compute_round_up_for_shorter_interval_case (const cache_entry_type &cache, int beta_minus_1) FMT_NOEXCEPT
 

Detailed Description

Definition at line 1827 of file format-inl.h.

Member Typedef Documentation

◆ cache_entry_type

using cache_entry_type = uint64_t

Definition at line 1829 of file format-inl.h.

◆ carrier_uint

using carrier_uint = float_info<float>::carrier_uint

Definition at line 1828 of file format-inl.h.

Member Function Documentation

◆ compute_delta()

static uint32_t compute_delta ( const cache_entry_type & cache,
int beta_minus_1 )
static

Definition at line 1842 of file format-inl.h.

◆ compute_left_endpoint_for_shorter_interval_case()

static carrier_uint compute_left_endpoint_for_shorter_interval_case ( const cache_entry_type & cache,
int beta_minus_1 )
static

Definition at line 1856 of file format-inl.h.

◆ compute_mul()

static carrier_uint compute_mul ( carrier_uint u,
const cache_entry_type & cache )
static

Definition at line 1837 of file format-inl.h.

References detail::dragonbox::umul96_upper32().

◆ compute_mul_parity()

static bool compute_mul_parity ( carrier_uint two_f,
const cache_entry_type & cache,
int beta_minus_1 )
static

Definition at line 1847 of file format-inl.h.

References FMT_ASSERT, and detail::dragonbox::umul96_lower64().

◆ compute_right_endpoint_for_shorter_interval_case()

static carrier_uint compute_right_endpoint_for_shorter_interval_case ( const cache_entry_type & cache,
int beta_minus_1 )
static

Definition at line 1863 of file format-inl.h.

◆ compute_round_up_for_shorter_interval_case()

static carrier_uint compute_round_up_for_shorter_interval_case ( const cache_entry_type & cache,
int beta_minus_1 )
static

Definition at line 1870 of file format-inl.h.

◆ get_cached_power()

static uint64_t get_cached_power ( int k)
static

Definition at line 1831 of file format-inl.h.

References basic_data< T >::dragonbox_pow10_significands_64, and FMT_ASSERT.