NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <bigint.h>
Public Member Functions | |
stackvec ()=default | |
stackvec (const stackvec &)=delete | |
stackvec & | operator= (const stackvec &)=delete |
stackvec (stackvec &&)=delete | |
stackvec & | operator= (stackvec &&other)=delete |
stackvec (limb_span s) | |
limb & | operator[] (size_t index) noexcept |
const limb & | operator[] (size_t index) const noexcept |
const limb & | rindex (size_t index) const noexcept |
void | set_len (size_t len) noexcept |
constexpr size_t | len () const noexcept |
constexpr bool | is_empty () const noexcept |
constexpr size_t | capacity () const noexcept |
void | push_unchecked (limb value) noexcept |
bool | try_push (limb value) noexcept |
void | extend_unchecked (limb_span s) noexcept |
bool | try_extend (limb_span s) noexcept |
void | resize_unchecked (size_t new_len, limb value) noexcept |
bool | try_resize (size_t new_len, limb value) noexcept |
bool | nonzero (size_t index) const noexcept |
void | normalize () noexcept |
Public Attributes | |
limb | data [size] |
uint16_t | length {0} |
|
default |
|
delete |
|
delete |
|
inline |
Definition at line 53 of file bigint.h.
References FASTFLOAT_ASSERT, and fast_float::stackvec< size >::try_extend().
|
inlineconstexprnoexcept |
Definition at line 82 of file bigint.h.
Referenced by fast_float::bigint::shl_limbs(), fast_float::stackvec< size >::try_extend(), fast_float::stackvec< size >::try_push(), and fast_float::stackvec< size >::try_resize().
|
inlinenoexcept |
Definition at line 100 of file bigint.h.
References fast_float::stackvec< size >::data, fast_float::stackvec< size >::len(), fast_float::stackvec< size >::length, and fast_float::stackvec< size >::set_len().
Referenced by fast_float::stackvec< size >::try_extend().
|
inlineconstexprnoexcept |
Definition at line 79 of file bigint.h.
References fast_float::stackvec< size >::length.
Referenced by fast_float::bigint::ctlz(), and fast_float::bigint::shl_limbs().
|
inlineconstexprnoexcept |
Definition at line 76 of file bigint.h.
References fast_float::stackvec< size >::length.
Referenced by fast_float::bigint::bit_length(), fast_float::bigint::compare(), fast_float::stackvec< size >::extend_unchecked(), fast_float::bigint::hi64(), fast_float::long_mul(), fast_float::stackvec< size >::nonzero(), fast_float::stackvec< size >::normalize(), fast_float::stackvec< size >::resize_unchecked(), fast_float::stackvec< size >::set_len(), fast_float::bigint::shl_bits(), fast_float::bigint::shl_limbs(), fast_float::stackvec< size >::try_extend(), and fast_float::stackvec< size >::try_push().
|
inlinenoexcept |
Definition at line 140 of file bigint.h.
References fast_float::stackvec< size >::len(), and fast_float::stackvec< size >::rindex().
Referenced by fast_float::bigint::hi64().
|
inlinenoexcept |
Definition at line 150 of file bigint.h.
References fast_float::stackvec< size >::len(), fast_float::stackvec< size >::length, and fast_float::stackvec< size >::rindex().
Referenced by fast_float::bigint::bigint().
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 61 of file bigint.h.
References fast_float::stackvec< size >::data, FASTFLOAT_DEBUG_ASSERT, and fast_float::stackvec< size >::length.
|
inlinenoexcept |
Definition at line 57 of file bigint.h.
References fast_float::stackvec< size >::data, FASTFLOAT_DEBUG_ASSERT, and fast_float::stackvec< size >::length.
|
inlinenoexcept |
Definition at line 86 of file bigint.h.
References fast_float::stackvec< size >::data, and fast_float::stackvec< size >::length.
Referenced by fast_float::bigint::bigint(), and fast_float::stackvec< size >::try_push().
|
inlinenoexcept |
Definition at line 117 of file bigint.h.
References fast_float::stackvec< size >::data, fast_float::stackvec< size >::len(), and fast_float::stackvec< size >::set_len().
Referenced by fast_float::stackvec< size >::try_resize().
|
inlinenoexcept |
Definition at line 66 of file bigint.h.
References fast_float::stackvec< size >::data, FASTFLOAT_DEBUG_ASSERT, fast_float::stackvec< size >::length, and fast_float::stackvec< size >::rindex().
Referenced by fast_float::bigint::ctlz(), fast_float::bigint::hi64(), fast_float::stackvec< size >::nonzero(), fast_float::stackvec< size >::normalize(), and fast_float::stackvec< size >::rindex().
|
inlinenoexcept |
Definition at line 73 of file bigint.h.
References fast_float::stackvec< size >::len(), and fast_float::stackvec< size >::length.
Referenced by fast_float::stackvec< size >::extend_unchecked(), fast_float::long_mul(), fast_float::stackvec< size >::resize_unchecked(), and fast_float::bigint::shl_limbs().
|
inlinenoexcept |
Definition at line 106 of file bigint.h.
References fast_float::stackvec< size >::capacity(), fast_float::stackvec< size >::extend_unchecked(), and fast_float::stackvec< size >::len().
Referenced by fast_float::long_mul(), and fast_float::stackvec< size >::stackvec().
|
inlinenoexcept |
Definition at line 91 of file bigint.h.
References fast_float::stackvec< size >::capacity(), fast_float::stackvec< size >::len(), and fast_float::stackvec< size >::push_unchecked().
Referenced by fast_float::bigint::shl_bits().
|
inlinenoexcept |
Definition at line 129 of file bigint.h.
References fast_float::stackvec< size >::capacity(), and fast_float::stackvec< size >::resize_unchecked().
limb fast_float::stackvec< size >::data[size] |
Definition at line 42 of file bigint.h.
Referenced by fast_float::stackvec< size >::extend_unchecked(), fast_float::long_mul(), fast_float::stackvec< size >::operator[](), fast_float::stackvec< size >::push_unchecked(), fast_float::stackvec< size >::resize_unchecked(), fast_float::stackvec< size >::rindex(), and fast_float::bigint::shl_limbs().
uint16_t fast_float::stackvec< size >::length {0} |
Definition at line 44 of file bigint.h.
Referenced by fast_float::stackvec< size >::extend_unchecked(), fast_float::stackvec< size >::is_empty(), fast_float::stackvec< size >::len(), fast_float::stackvec< size >::normalize(), fast_float::stackvec< size >::operator[](), fast_float::stackvec< size >::push_unchecked(), fast_float::stackvec< size >::rindex(), and fast_float::stackvec< size >::set_len().