NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
float_common.h File Reference
#include <cfloat>
#include <cstdint>
#include <cassert>
#include <cstring>
#include <type_traits>
#include <endian.h>
Include dependency graph for float_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fast_float::span< T >
 
struct  fast_float::value128
 
struct  fast_float::adjusted_mantissa
 
struct  fast_float::binary_format< T >
 

Namespaces

namespace  fast_float
 

Macros

#define FASTFLOAT_IS_BIG_ENDIAN   0
 
#define FASTFLOAT_IS_BIG_ENDIAN   0
 
#define FASTFLOAT_IS_BIG_ENDIAN   0
 
#define fastfloat_really_inline   inline __attribute__((always_inline))
 
#define FASTFLOAT_ASSERT(x)   { if (!(x)) abort(); }
 
#define FASTFLOAT_DEBUG_ASSERT(x)   assert(x)
 
#define FASTFLOAT_TRY(x)   { if (!(x)) return false; }
 

Functions

bool fast_float::fastfloat_strncasecmp (const char *input1, const char *input2, size_t length)
 
fastfloat_really_inline int fast_float::leading_zeroes (uint64_t input_num)
 
fastfloat_really_inline value128 fast_float::full_multiplication (uint64_t a, uint64_t b)
 
template<typename T >
fastfloat_really_inline void fast_float::to_float (bool negative, adjusted_mantissa am, T &value)
 

Variables

static constexpr int32_t fast_float::invalid_am_bias = -0x8000
 
static constexpr double fast_float::powers_of_ten_double []
 
static constexpr float fast_float::powers_of_ten_float []
 

Macro Definition Documentation

◆ FASTFLOAT_ASSERT

#define FASTFLOAT_ASSERT (   x)    { if (!(x)) abort(); }

Definition at line 80 of file float_common.h.

◆ FASTFLOAT_DEBUG_ASSERT

#define FASTFLOAT_DEBUG_ASSERT (   x)    assert(x)

Definition at line 85 of file float_common.h.

◆ FASTFLOAT_IS_BIG_ENDIAN [1/3]

#define FASTFLOAT_IS_BIG_ENDIAN   0

Definition at line 67 of file float_common.h.

◆ FASTFLOAT_IS_BIG_ENDIAN [2/3]

#define FASTFLOAT_IS_BIG_ENDIAN   0

Definition at line 67 of file float_common.h.

◆ FASTFLOAT_IS_BIG_ENDIAN [3/3]

#define FASTFLOAT_IS_BIG_ENDIAN   0

Definition at line 67 of file float_common.h.

◆ fastfloat_really_inline

#define fastfloat_really_inline   inline __attribute__((always_inline))

Definition at line 76 of file float_common.h.

◆ FASTFLOAT_TRY

#define FASTFLOAT_TRY (   x)    { if (!(x)) return false; }

Definition at line 89 of file float_common.h.