simdjson 5.0.2
Ridiculously Fast JSON
Loading...
Searching...
No Matches
simdjson_fast_float::bigint Struct Reference
Inheritance diagram for simdjson_fast_float::bigint:
simdjson_fast_float::pow5_tables< typename >

Public Member Functions

 bigint (bigint const &)=delete
 
bigint & operator= (bigint const &)=delete
 
 bigint (bigint &&)=delete
 
bigint & operator= (bigint &&other)=delete
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bigint (uint64_t value)
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 uint64_t hi64 (bool &truncated) const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 int compare (bigint const &other) const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool shl_bits (size_t n) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool shl_limbs (size_t n) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool shl (size_t n) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 int ctlz () const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 int bit_length () const noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool mul (limb y) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool add (limb y) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool pow2 (uint32_t exp) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool pow5 (uint32_t exp) noexcept
 
SIMDJSON_FASTFLOAT_CONSTEXPR20 bool pow10 (uint32_t exp) noexcept
 

Public Attributes

stackvec< bigint_limbs > vec
 

Additional Inherited Members

- Static Public Attributes inherited from simdjson_fast_float::pow5_tables< typename >
static constexpr uint32_t large_step = 135
 
static constexpr uint64_t small_power_of_5 []
 
static constexpr limb large_power_of_5 []
 

Detailed Description

Definition at line 3918 of file fast_float.h.

Constructor & Destructor Documentation

◆ bigint() [1/2]

SIMDJSON_FASTFLOAT_CONSTEXPR20 simdjson_fast_float::bigint::bigint ( )
inline

Definition at line 3922 of file fast_float.h.

◆ bigint() [2/2]

SIMDJSON_FASTFLOAT_CONSTEXPR20 simdjson_fast_float::bigint::bigint ( uint64_t  value)
inline

Definition at line 3929 of file fast_float.h.

Member Function Documentation

◆ add()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::add ( limb  y)
inlinenoexcept

Definition at line 4077 of file fast_float.h.

◆ bit_length()

SIMDJSON_FASTFLOAT_CONSTEXPR20 int simdjson_fast_float::bigint::bit_length ( ) const
inlinenoexcept

Definition at line 4070 of file fast_float.h.

◆ compare()

SIMDJSON_FASTFLOAT_CONSTEXPR20 int simdjson_fast_float::bigint::compare ( bigint const &  other) const
inlinenoexcept

Definition at line 3974 of file fast_float.h.

◆ ctlz()

SIMDJSON_FASTFLOAT_CONSTEXPR20 int simdjson_fast_float::bigint::ctlz ( ) const
inlinenoexcept

Definition at line 4055 of file fast_float.h.

◆ hi64()

SIMDJSON_FASTFLOAT_CONSTEXPR20 uint64_t simdjson_fast_float::bigint::hi64 ( bool &  truncated) const
inlinenoexcept

Definition at line 3941 of file fast_float.h.

◆ mul()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::mul ( limb  y)
inlinenoexcept

Definition at line 4075 of file fast_float.h.

◆ pow10()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::pow10 ( uint32_t  exp)
inlinenoexcept

Definition at line 4114 of file fast_float.h.

◆ pow2()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::pow2 ( uint32_t  exp)
inlinenoexcept

Definition at line 4080 of file fast_float.h.

◆ pow5()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::pow5 ( uint32_t  exp)
inlinenoexcept

Definition at line 4083 of file fast_float.h.

◆ shl()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::shl ( size_t  n)
inlinenoexcept

Definition at line 4042 of file fast_float.h.

◆ shl_bits()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::shl_bits ( size_t  n)
inlinenoexcept

Definition at line 3995 of file fast_float.h.

◆ shl_limbs()

SIMDJSON_FASTFLOAT_CONSTEXPR20 bool simdjson_fast_float::bigint::shl_limbs ( size_t  n)
inlinenoexcept

Definition at line 4021 of file fast_float.h.

Member Data Documentation

◆ vec

stackvec<bigint_limbs> simdjson_fast_float::bigint::vec

Definition at line 3920 of file fast_float.h.


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