php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Macros | |
#define | SWAR_ONES (~((size_t) 0) / 0xFF) |
#define | SWAR_REPEAT(x) |
#define | BC_BSWAP(u) |
#define | BC_VECTOR_SIZE 4 |
#define | BC_VECTOR_BOUNDARY_NUM (BC_VECTOR) 10000 |
#define | BC_LITTLE_ENDIAN 1 |
#define | BC_VECTOR_NO_OVERFLOW_ADD_COUNT (~((BC_VECTOR) 0) / (BC_VECTOR_BOUNDARY_NUM * BC_VECTOR_BOUNDARY_NUM)) |
Typedefs | |
typedef uint32_t | BC_VECTOR |
Functions | |
bcmath_compare_result | _bc_do_compare (bc_num n1, bc_num n2, size_t scale, bool use_sign) |
bc_num | _bc_do_add (bc_num n1, bc_num n2) |
bc_num | _bc_do_sub (bc_num n1, bc_num n2) |
void | _bc_rm_leading_zeros (bc_num num) |
#define BC_VECTOR_NO_OVERFLOW_ADD_COUNT (~((BC_VECTOR) 0) / (BC_VECTOR_BOUNDARY_NUM * BC_VECTOR_BOUNDARY_NUM)) |
Definition at line 41 of file doaddsub.c.
bcmath_compare_result _bc_do_compare | ( | bc_num | n1, |
bc_num | n2, | ||
size_t | scale, | ||
bool | use_sign ) |
Definition at line 172 of file doaddsub.c.