/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | _base_sup.c | 34 _display_big_float(_big_float *pbf, unsigned base) argument 38 for (i = 0; i < pbf->blength; i++) { 41 printf(" + %d * 2** %d", pbf->bsignificand[i], (16 * i + pbf->bexponent)); 44 printf(" + %d * 10** %d", pbf->bsignificand[i], (4 * i + pbf->bexponent)); 120 _big_float *pbf) 134 pbf->bexponent = -(int) (nzin + ndigs); 135 pbf->blength = (ndigs + 3) / 4; 137 ids = nzin + ndigs - 4 * pbf 119 _fractionstring_to_big_decimal(char ds[], unsigned ndigs, unsigned nzin, _big_float *pbf) argument 173 _mul_10000short(_big_float *pbf, long unsigned carry) argument [all...] |
H A D | _sprintf_sup.c | 94 _left_shift_base_ten(_big_float *pbf, short unsigned multiplier) argument 101 short unsigned length = pbf->blength; 108 p = _lshift_b10000((_BIG_FLOAT_DIGIT) pbf->bsignificand[j], multiplier, carry); 109 pbf->bsignificand[j] = (_BIG_FLOAT_DIGIT) (p & 0xffff); 114 pbf->bsignificand[j++] = (_BIG_FLOAT_DIGIT) (p & 0xffff); 117 pbf->blength = j; 121 _left_shift_base_two(_big_float *pbf, short unsigned multiplier) argument 128 short unsigned length = pbf->blength; 135 p = _lshift_b65536(pbf->bsignificand[j], multiplier, carry); 136 pbf 146 _right_shift_base_two(_big_float *pbf, short unsigned multiplier, _BIG_FLOAT_DIGIT *sticky) argument 166 _multiply_base_ten(_big_float *pbf, _BIG_FLOAT_DIGIT multiplier) argument 192 _multiply_base_two(_big_float *pbf, _BIG_FLOAT_DIGIT multiplier, long unsigned carry) argument 216 _multiply_base_ten_by_two(_big_float *pbf, short unsigned multiplier) argument 274 _mul_65536short(_big_float *pbf, unsigned long carry) argument [all...] |
H A D | _times_power.c | 68 * pbf: Operand x, to be replaced by the product x * mult ** n. 77 * pnewbf: Return result *pnewbf is set to: pbf if uneventful 80 * BIG_FLOAT_TIMES_NOMEM if pbf->blength was 83 * &newbf if pbf->blength was 93 _big_float_times_power(_big_float *pbf, int mult, int n, int precision, argument 99 _big_float *pbfold = pbf; 109 case 2: /* *pbf is in base 10**4 so multiply by a 128 case 10: /* *pbf is in base 2**16 so multiply by a 163 productsize = pbf->blength; 170 if (productsize <= pbf [all...] |
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | __x_power.c | 54 __multiply_base_two(_big_float *pbf, unsigned short multiplier) argument 57 int j, length = pbf->blength; 61 p = (unsigned int)pbf->bsignificand[j] * multiplier + carry; 62 pbf->bsignificand[j] = p & 0xffff; 66 pbf->bsignificand[j++] = carry; 67 pbf->blength = j; 75 __multiply_base_ten(_big_float *pbf, unsigned short multiplier) argument 78 int j, length = pbf->blength; 82 p = (unsigned int)pbf->bsignificand[j] * multiplier + carry; 83 carry = __quorem10000(p, &pbf 97 __multiply_base_ten_by_two(_big_float *pbf, unsigned short multiplier) argument 235 __big_float_times_power(_big_float *pbf, int mult, int n, int precision, _big_float **pnewbf) argument [all...] |
H A D | double_decim.c | 341 _big_float *pbf, *pbd, d; local 355 pbf = bf; 376 __big_float_times_power(bf, 10, powten, sigbits, &pbf); 404 sigbits, &pbf); 413 __big_binary_to_big_decimal(pbf, sigdigits, &pbd, &sticky); 421 if (pbf != bf) 422 (void) free((void *)pbf);
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_main.c | 388 struct ath_buf **pbf, struct ath_desc **pds, int nbuf, uint_t dmabflags) 391 struct ath_buf *bf = *pbf; 409 *pbf = bf; 387 ath_buflist_setup(dev_info_t *devinfo, ath_t *asc, list_t *bflist, struct ath_buf **pbf, struct ath_desc **pds, int nbuf, uint_t dmabflags) argument
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_main.c | 351 struct ath_buf **pbf, 358 struct ath_buf *bf = *pbf; 376 *pbf = bf; 348 arn_buflist_setup(dev_info_t *devinfo, struct arn_softc *sc, list_t *bflist, struct ath_buf **pbf, struct ath_desc **pds, int nbuf, uint_t dmabflags, uint32_t buflen) argument
|