Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
|
Go to the source code of this file.
Functions | |
Bigint * | increment (Bigint *b) |
int | decrement (Bigint *b) |
static int | all_on (Bigint *b, int n) |
Bigint * | set_ones (Bigint *b, int n) |
static int | rvOK (double d, FPI *fpi, Long *exp, ULong *bits, int exact, int rd, int *irv) |
static int | mantbits (double d) |
int | strtodg (CONST char *s00, char **se, FPI *fpi, Long *exp, ULong *bits) |
Variables | |
static CONST int | fivesbits [] |
|
static |
int decrement | ( | Bigint * | b | ) |
Definition at line 122 of file strtodg.c.
References STRTOG_Inexlo, Bigint::wds, and Bigint::x.
Definition at line 73 of file strtodg.c.
References Balloc(), Bcopy, Bfree(), Bigint::k, Bigint::maxwds, Bigint::wds, and Bigint::x.
|
static |
|
static |
Definition at line 235 of file strtodg.c.
References any_on(), Bfree(), copybits(), d2b(), ERANGE, errno, Flt_Rounds, FPI_Round_near, hi0bits, increment(), kmask, kshift, lshift(), P, rshift(), STRTOG_Denormal, STRTOG_Inexhi, STRTOG_Inexlo, STRTOG_Infinite, STRTOG_Overflow, STRTOG_Underflow, ULbits, Bigint::wds, and Bigint::x.
Referenced by strtodg().
Definition at line 443 of file strtodg.c.
References all_on(), ALL_ON, Balloc(), Bcopy, Bfree(), Bias, bigtens, cmp(), CONST, copybits(), d2b(), DBL_DIG, DBL_MAX_EXP, lconv::decimal_point, decrement(), diff(), dval, ERANGE, errno, Exp_mask, Exp_msk1, Exp_shift1, fivesbits, FPI_Round_down, FPI_Round_up, FPI_Round_zero, gethex(), hexnan(), hi0bits, i2b(), increment(), Bigint::k, kmask, lo0bits(), localeconv(), Long, lshift(), mantbits(), match, mult(), P, pow5mult(), ratio(), rounded_product, rounded_quotient, rshift(), rvOK(), s2b(), set_ones(), Bigint::sign, STRTOG_Denormal, STRTOG_Inexact, STRTOG_Inexhi, STRTOG_Inexlo, STRTOG_Infinite, STRTOG_NaN, STRTOG_Neg, STRTOG_NoNumber, STRTOG_Normal, STRTOG_Overflow, STRTOG_Retmask, STRTOG_Underflow, STRTOG_Zero, sum(), Ten_pmax, tens, tinytens, trailz(), ULbits, Bigint::wds, word0, and Bigint::x.
Referenced by strtod(), strtodI(), strtof(), strtoIg(), strtopd(), strtopdd(), strtopf(), strtopQ(), strtopx(), strtopxL(), strtord(), strtordd(), strtorf(), strtorQ(), strtorx(), and strtorxL().