Lines Matching refs:BcBigDig
58 typedef BclBigDig BcBigDig; typedef
62 #define BC_NUM_BIGDIG_MAX ((BcBigDig) UINT64_MAX)
73 #define BC_NUM_BIGDIG_MAX ((BcBigDig) UINT32_MAX)
142 ((n)->rdx = (((v) << 1) | ((n)->rdx & (BcBigDig) 1)))
144 ((n).rdx = (((v) << 1) | ((n).rdx & (BcBigDig) 1)))
153 #define BC_NUM_NEG(n) ((n)->rdx & ((BcBigDig) 1))
154 #define BC_NUM_NEG_NP(n) ((n).rdx & ((BcBigDig) 1))
155 #define BC_NUM_NEG_CLR(n) ((n)->rdx &= ~((BcBigDig) 1))
156 #define BC_NUM_NEG_CLR_NP(n) ((n).rdx &= ~((BcBigDig) 1))
157 #define BC_NUM_NEG_SET(n) ((n)->rdx |= ((BcBigDig) 1))
158 #define BC_NUM_NEG_TGL(n) ((n)->rdx ^= ((BcBigDig) 1))
159 #define BC_NUM_NEG_TGL_NP(n) ((n).rdx ^= ((BcBigDig) 1))
160 #define BC_NUM_NEG_VAL(n, v) (((n)->rdx & ~((BcBigDig) 1)) | (v))
161 #define BC_NUM_NEG_VAL_NP(n, v) (((n).rdx & ~((BcBigDig) 1)) | (v))
184 void bc_num_createFromBigdig(BcNum *n, BcBigDig val);
191 void bc_num_bigdig(const BcNum *restrict n, BcBigDig *result);
192 void bc_num_bigdig2(const BcNum *restrict n, BcBigDig *result);
193 void bc_num_bigdig2num(BcNum *restrict n, BcBigDig val);
243 void bc_num_parse(BcNum *restrict n, const char *restrict val, BcBigDig base);
244 void bc_num_print(BcNum *restrict n, BcBigDig base, bool newline);
246 void bc_num_stream(BcNum *restrict n, BcBigDig base);
257 extern const BcBigDig bc_num_pow10[BC_BASE_DIGS + 1];