|
Embedded Artistry Framework
Embedded Systems C++ Framework
|
#include "gdtoaimp.h"
Macros | |
| #define | PRIVATE_MEM 2304 |
| #define | PRIVATE_mem ((PRIVATE_MEM + sizeof(double) - 1) / sizeof(double)) |
| #define | d0 word0(d) |
| #define | d1 word1(d) |
| #define | d0 word0(d) |
| #define | d1 word1(d) |
Functions | |
| Bigint * | Balloc (int k) |
| void | Bfree (Bigint *v) |
| int | lo0bits (ULong *y) |
| Bigint * | multadd (Bigint *b, int m, int a) |
| int | hi0bits_D2A (register ULong x) |
| Bigint * | i2b (int i) |
| Bigint * | mult (Bigint *a, Bigint *b) |
| Bigint * | pow5mult (Bigint *b, int k) |
| Bigint * | lshift (Bigint *b, int k) |
| int | cmp (Bigint *a, Bigint *b) |
| Bigint * | diff (Bigint *a, Bigint *b) |
| double | b2d (Bigint *a, int *e) |
| Bigint * | d2b (double d, int *e, int *bits) |
| char * | strcp_D2A (char *a, CONST char *b) |
Variables | |
| static Bigint * | freelist [Kmax+1] |
| static double | private_mem [PRIVATE_mem] |
| static double * | pmem_next = private_mem |
| static Bigint * | p5s |
| CONST double | bigtens [] = {1e16, 1e32} |
| CONST double | tinytens [] = {1e-16, 1e-32} |
| CONST double | tens [] |
| #define d0 word0(d) |
| #define d0 word0(d) |
| #define d1 word1(d) |
| #define d1 word1(d) |
| #define PRIVATE_MEM 2304 |
| #define PRIVATE_mem ((PRIVATE_MEM + sizeof(double) - 1) / sizeof(double)) |
| double b2d | ( | Bigint * | a, |
| int * | e | ||
| ) |
| Bigint* Balloc | ( | int | k | ) |
References ACQUIRE_DTOA_LOCK, FREE_DTOA_LOCK, freelist, k, Bigint::k, MALLOC, Bigint::maxwds, Bigint::next, pmem_next, PRIVATE_mem, private_mem, Bigint::sign, and Bigint::wds.
Referenced by bitstob(), d2b(), diff(), dtoa(), gdtoa(), gethex(), i2b(), increment(), lshift(), mult(), multadd(), rv_alloc(), s2b(), set_ones(), strtod(), strtodg(), strtoId(), strtoIdd(), strtoIf(), strtoIg(), strtoIQ(), strtoIx(), strtoIxL(), and sum().
| void Bfree | ( | Bigint * | v | ) |
References ACQUIRE_DTOA_LOCK, FREE_DTOA_LOCK, and freelist.
Referenced by dtoa(), freedtoa(), g_ddfmt(), gdtoa(), gethex(), increment(), lshift(), multadd(), pow5mult(), rvOK(), set_ones(), strtod(), strtodg(), strtoId(), strtoIdd(), strtoIf(), strtoIQ(), strtoIx(), strtoIxL(), and sum().
| Bigint* d2b | ( | double | d, |
| int * | e, | ||
| int * | bits | ||
| ) |
References a, b, Balloc(), cmp(), Bigint::sign, Storeinc, UL, ULLong, Bigint::wds, Bigint::x, and z.
Referenced by _ftoa(), check_float_internal(), check_int(), check_long(), check_longlong(), dtoa(), g_ddfmt(), gdtoa(), strtod(), and strtodg().
| Bigint* i2b | ( | int | i | ) |
| int lo0bits | ( | ULong * | y | ) |
| CONST double bigtens[] = {1e16, 1e32} |
|
static |
Referenced by pow5mult().
|
static |
Referenced by Balloc().
|
static |
Referenced by Balloc().
| CONST double tens[] |
| CONST double tinytens[] = {1e-16, 1e-32} |
1.8.15