NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
digit_comparison.h File Reference
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <iterator>
#include "float_common.h"
#include "bigint.h"
#include "ascii_number.h"
Include dependency graph for digit_comparison.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fast_float
 

Functions

fastfloat_really_inline int32_t fast_float::scientific_exponent (parsed_number_string &num) noexcept
 
template<typename T >
fastfloat_really_inline adjusted_mantissa fast_float::to_extended (T value) noexcept
 
template<typename T >
fastfloat_really_inline adjusted_mantissa fast_float::to_extended_halfway (T value) noexcept
 
template<typename T , typename callback >
fastfloat_really_inline void fast_float::round (adjusted_mantissa &am, callback cb) noexcept
 
template<typename callback >
fastfloat_really_inline void fast_float::round_nearest_tie_even (adjusted_mantissa &am, int32_t shift, callback cb) noexcept
 
fastfloat_really_inline void fast_float::round_down (adjusted_mantissa &am, int32_t shift) noexcept
 
fastfloat_really_inline void fast_float::skip_zeros (const char *&first, const char *last) noexcept
 
fastfloat_really_inline bool fast_float::is_truncated (const char *first, const char *last) noexcept
 
fastfloat_really_inline bool fast_float::is_truncated (byte_span s) noexcept
 
fastfloat_really_inline void fast_float::parse_eight_digits (const char *&p, limb &value, size_t &counter, size_t &count) noexcept
 
fastfloat_really_inline void fast_float::parse_one_digit (const char *&p, limb &value, size_t &counter, size_t &count) noexcept
 
fastfloat_really_inline void fast_float::add_native (bigint &big, limb power, limb value) noexcept
 
fastfloat_really_inline void fast_float::round_up_bigint (bigint &big, size_t &count) noexcept
 
void fast_float::parse_mantissa (bigint &result, parsed_number_string &num, size_t max_digits, size_t &digits) noexcept
 
template<typename T >
adjusted_mantissa fast_float::positive_digit_comp (bigint &bigmant, int32_t exponent) noexcept
 
template<typename T >
adjusted_mantissa fast_float::negative_digit_comp (bigint &bigmant, adjusted_mantissa am, int32_t exponent) noexcept
 
template<typename T >
adjusted_mantissa fast_float::digit_comp (parsed_number_string &num, adjusted_mantissa am) noexcept
 

Variables

static constexpr uint64_t fast_float::powers_of_ten_uint64 []