Home
last modified time | relevance | path

Searched refs:bsignificand (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/fp/
H A D__x_power.c59 p = (unsigned int)pbf->bsignificand[j] * multiplier + carry; in __multiply_base_two()
60 pbf->bsignificand[j] = p & 0xffff; in __multiply_base_two()
64 pbf->bsignificand[j++] = carry; in __multiply_base_two()
80 p = (unsigned int)pbf->bsignificand[j] * multiplier + carry; in __multiply_base_ten()
81 carry = __quorem10000(p, &pbf->bsignificand[j]); in __multiply_base_ten()
84 carry = __quorem10000(carry, &pbf->bsignificand[j]); in __multiply_base_ten()
102 p = ((unsigned int)pbf->bsignificand[j] << multiplier) + carry; in __multiply_base_ten_by_two()
103 carry = __quorem10000(p, &pbf->bsignificand[j]); in __multiply_base_ten_by_two()
106 carry = __quorem10000(carry, &pbf->bsignificand[j]); in __multiply_base_ten_by_two()
363 (void) memcpy((*pnewbf)->bsignificand, pbf->bsignificand, in __big_float_times_power()
[all …]
H A Ddouble_decim.c94 carry = pb->bsignificand[pb->blength - 1]; in __big_binary_to_big_decimal()
95 pd->bsignificand[1] = __quorem10000(carry, in __big_binary_to_big_decimal()
96 &pd->bsignificand[0]); in __big_binary_to_big_decimal()
97 len = (pd->bsignificand[1])? 2 : 1; in __big_binary_to_big_decimal()
101 carry = pb->bsignificand[i]; in __big_binary_to_big_decimal()
103 carry += (unsigned int)pd->bsignificand[j] in __big_binary_to_big_decimal()
106 &pd->bsignificand[j]); in __big_binary_to_big_decimal()
110 &pd->bsignificand[j]); in __big_binary_to_big_decimal()
124 carry = pb->bsignificand[i] >> (16 - s); in __big_binary_to_big_decimal()
126 carry += (unsigned int)pd->bsignificand[j] << s; in __big_binary_to_big_decimal()
[all …]
H A Ddecimal_bin.c63 pb->bsignificand[0] = pd->bsignificand[pd->blength - 1]; in __big_decimal_to_big_binary()
68 carry = pd->bsignificand[i]; in __big_decimal_to_big_binary()
70 carry += (unsigned int)pb->bsignificand[j] in __big_decimal_to_big_binary()
72 pb->bsignificand[j] = carry & 0xffff; in __big_decimal_to_big_binary()
76 pb->bsignificand[j++] = carry; in __big_decimal_to_big_binary()
88 carry = pd->bsignificand[i]; in __big_decimal_to_big_binary()
93 carry += (unsigned int)pb->bsignificand[j] in __big_decimal_to_big_binary()
95 pb->bsignificand[j] = carry & 0xffff; in __big_decimal_to_big_binary()
102 carry += (unsigned int)pb->bsignificand[j] in __big_decimal_to_big_binary()
104 pb->bsignificand[j] = carry & 0xffff; in __big_decimal_to_big_binary()
[all …]
/illumos-gate/usr/src/lib/libc/inc/
H A Dbase_conversion.h218 unsigned short bsignificand[_BIG_FLOAT_SIZE]; member