Home
last modified time | relevance | path

Searched refs:UNPACKED_SIZE (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A D_unpack_dble.c40 for (nlzwords = 0; (pu->significand[nlzwords] == 0) && (nlzwords < UNPACKED_SIZE); nlzwords++); in _fp_normalize()
41 if (nlzwords >= UNPACKED_SIZE) { in _fp_normalize()
46 for (i = 0; i < UNPACKED_SIZE - nlzwords; i++) in _fp_normalize()
48 for (; i < UNPACKED_SIZE; i++) in _fp_normalize()
52 for (; pu->significand[UNPACKED_SIZE - 1 - nlzwords] == 0; nlzwords++); in _fp_normalize()
68 for (i = UNPACKED_SIZE - 1 - nlzwords; i >= 0; i--) { in _fp_normalize()
115 for (i = UNPACKED_SIZE - 1; i >= 0; i--) { in _fp_leftshift()
133 for (i = 2; i < UNPACKED_SIZE; i++) in _unpack_double()
212 for (i = 4; i < UNPACKED_SIZE; i++) in _unpack_quadruple()
H A Dpack_float.c40 if (n >= (32 * UNPACKED_SIZE)) { /* drastic */
41 for (i = 0; (pu->significand[i] == 0) && (i < UNPACKED_SIZE); i++);
42 if (i >= UNPACKED_SIZE) {
46 for (i = 0; i < (UNPACKED_SIZE - 1); i++)
48 pu->significand[UNPACKED_SIZE - 1] = 1;
53 if (pu->significand[UNPACKED_SIZE - 1] != 0)
54 pu->significand[UNPACKED_SIZE - 2] |= 1;
55 for (i = UNPACKED_SIZE - 2; i >= 0; i--)
62 for (i = 0; i < UNPACKED_SIZE; i++) {
69 pu->significand[UNPACKED_SIZE - 1] |= 1;
[all …]
H A D_base_sup.c282 for (ib = pb->blength - 1; ((ib - 1) >= 0) && (iu < UNPACKED_SIZE); ib -= 2) { in _big_binary_to_unpacked()
285 if (iu < UNPACKED_SIZE) { /* The big float fits in the unpacked in _big_binary_to_unpacked()
289 for (; iu < UNPACKED_SIZE; iu++) in _big_binary_to_unpacked()
296 pu->significand[UNPACKED_SIZE - 1] |= 1; /* Stick lsb if nonzero in _big_binary_to_unpacked()
H A Dunpack_float.c87 for (i = 1; i < UNPACKED_SIZE; i++) in _unpack_single()
134 for (i = 2; i < UNPACKED_SIZE; i++) in _unpack_extended()
188 for (i = 0; i < UNPACKED_SIZE; i++) { in _display_unpacked()
H A Dbase_conversion.h67 #define UNPACKED_SIZE 5 /* Size of unpacked significand. */ macro
79 unsigned significand[UNPACKED_SIZE]; /* Last word is round */
H A Ddouble_decim.c375 for (; i < UNPACKED_SIZE; i++) in _unpacked_to_decimal()
390 for (i = (imask + 1); i < UNPACKED_SIZE; i++) in _unpacked_to_decimal()
H A D_sprintf_sup.c251 for (iz = (UNPACKED_SIZE - 2); pu->significand[iz] == 0; iz--); /* Find lsw. */ in _unpacked_to_big_float()
H A Ddecimal_bin.c306 assert(uneeded <= (2 * UNPACKED_SIZE));
/titanic_50/usr/src/lib/libc/port/fp/
H A Dpack_float.c40 if (n >= (32 * UNPACKED_SIZE)) { /* drastic */ in __fp_rightshift()
41 for (i = 0; (pu->significand[i] == 0) && (i < UNPACKED_SIZE); in __fp_rightshift()
43 if (i >= UNPACKED_SIZE) { in __fp_rightshift()
47 for (i = 0; i < (UNPACKED_SIZE - 1); i++) in __fp_rightshift()
49 pu->significand[UNPACKED_SIZE - 1] = 1; in __fp_rightshift()
54 if (pu->significand[UNPACKED_SIZE - 1] != 0) in __fp_rightshift()
55 pu->significand[UNPACKED_SIZE - 2] |= 1; in __fp_rightshift()
56 for (i = UNPACKED_SIZE - 2; i >= 0; i--) in __fp_rightshift()
63 for (i = 0; i < UNPACKED_SIZE; i++) { in __fp_rightshift()
70 pu->significand[UNPACKED_SIZE - 1] |= 1; in __fp_rightshift()
[all …]
H A Ddecimal_bin.c543 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_single()
551 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_single()
622 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_double()
630 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_double()
702 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_extended()
710 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_extended()
723 for (i = 2; i < UNPACKED_SIZE; i++) in decimal_to_extended()
797 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_quadruple()
805 for (i = 1; i < UNPACKED_SIZE; i++) in decimal_to_quadruple()
818 for (i = 2; i < UNPACKED_SIZE; i++) in decimal_to_quadruple()
/titanic_50/usr/src/lib/libc/inc/
H A Dbase_conversion.h60 #define UNPACKED_SIZE 5 macro
66 unsigned significand[UNPACKED_SIZE];