/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | _Qfcompare.c | 41 if ((px->fpclass == fp_quiet) || (py->fpclass == fp_quiet) || 42 (px->fpclass == fp_signaling) || (py->fpclass == fp_signaling)) { 46 } else if ((px->fpclass == fp_zero) && (py->fpclass == fp_zero)) 54 if ((int) px->fpclass > (int) py->fpclass) 56 else if ((int) px->fpclass < (int) py->fpclass) 59 /* same classes */ if (px->fpclass == fp_infinity)
|
H A D | _Qfunpack.c | 42 pu->fpclass = fp_zero; 45 (*pu).fpclass = fp_normal; 70 pu->fpclass = fp_zero; 73 pu->fpclass = fp_normal; 81 pu->fpclass = fp_infinity; 85 pu->fpclass = fp_quiet; 87 pu->fpclass = fp_signaling; 96 (*pu).fpclass = fp_normal; 116 pu->fpclass = fp_zero; 119 pu->fpclass = fp_normal; [all …]
|
H A D | unpack_float.c | 91 pu->fpclass = fp_zero; in _unpack_single() 94 pu->fpclass = fp_normal; in _unpack_single() 102 pu->fpclass = fp_infinity; in _unpack_single() 106 pu->fpclass = fp_quiet; in _unpack_single() 108 pu->fpclass = fp_quiet; in _unpack_single() 116 (*pu).fpclass = fp_normal; in _unpack_single() 130 pu->fpclass = fp_normal; in _unpack_extended() 138 pu->fpclass = fp_infinity; in _unpack_extended() 142 pu->fpclass = fp_quiet; in _unpack_extended() 144 pu->fpclass = fp_quiet; in _unpack_extended() [all …]
|
H A D | _Qfaddsub.c | 39 if ((int) px->fpclass < (int) py->fpclass) { /* Reverse. */ 45 switch (px->fpclass) { 53 if (py->fpclass == fp_zero) { 66 pz->fpclass = px->fpclass; 103 if ((int) px->fpclass < (int) py->fpclass) { /* Reverse. */ 110 switch (pz->fpclass) { 115 if (py->fpclass == fp_infinity) { 117 pz->fpclass = fp_quiet; 124 if (py->fpclass == fp_zero) 136 pz->fpclass = px->fpclass; [all …]
|
H A D | _unpack_dble.c | 39 if ((*pu).fpclass == fp_normal) { in _fp_normalize() 42 (*pu).fpclass = fp_zero; in _fp_normalize() 137 pu->fpclass = fp_zero; in _unpack_double() 140 pu->fpclass = fp_normal; in _unpack_double() 148 pu->fpclass = fp_infinity; in _unpack_double() 152 pu->fpclass = fp_quiet; in _unpack_double() 154 pu->fpclass = fp_quiet; in _unpack_double() 163 (*pu).fpclass = fp_normal; in _unpack_double() 216 pu->fpclass = fp_zero; in _unpack_quadruple() 219 pu->fpclass = fp_normal; in _unpack_quadruple() [all …]
|
H A D | _Qfdiv.c | 42 if ((py->fpclass == fp_quiet) || (py->fpclass == fp_signaling)) { 46 switch (px->fpclass) { 52 if (px->fpclass == py->fpclass) { /* 0/0 or inf/inf */ 54 pz->fpclass = fp_quiet; 58 switch (py->fpclass) { 61 pz->fpclass = fp_infinity; 64 pz->fpclass = fp_zero; 168 switch (px->fpclass) { 176 pz->fpclass = fp_quiet; 182 pz->fpclass = fp_quiet;
|
H A D | decimal_bin.c | 212 px->fpclass = pd->fpclass; 213 if ((px->fpclass != fp_normal) && (px->fpclass != fp_subnormal)) 217 px->fpclass = fp_zero; 419 switch (pd->fpclass) { 439 u.fpclass = fp_normal; 455 u.fpclass = fp_normal; 484 switch (pd->fpclass) { 508 u.fpclass = fp_normal; 524 u.fpclass = fp_normal; 553 switch (pd->fpclass) { [all …]
|
H A D | _Qfmul.c | 41 if ((int) px->fpclass < (int) py->fpclass) { 51 switch (px->fpclass) { 57 if (py->fpclass == fp_zero) { 59 pz->fpclass = fp_quiet; 63 if (py->fpclass == fp_zero) { 64 pz->fpclass = fp_zero;
|
H A D | float_decim.c | 49 pd->fpclass = _class_single(px); 50 switch (pd->fpclass) { 80 pd->fpclass = _class_extended(px); 81 switch (pd->fpclass) {
|
H A D | double_decim.c | 227 if (pu->fpclass == fp_zero) { /* Exact zero. */ in binary_to_decimal_fraction() 349 pd->fpclass = px->fpclass; in _unpacked_to_decimal() 350 if ((px->fpclass != fp_normal) && (px->fpclass != fp_subnormal)) in _unpacked_to_decimal() 364 ix.fpclass = fp_zero; in _unpacked_to_decimal() 366 fx.fpclass = fp_zero; in _unpacked_to_decimal() 394 if (ix.fpclass != fp_zero) { /* Compute integer part of result. */ in _unpacked_to_decimal() 455 if (fx.fpclass != fp_zero) in _unpacked_to_decimal() 459 if (fx.fpclass != fp_zero) { in _unpacked_to_decimal() 628 if (fx.fpclass != fp_zero) in _unpacked_to_decimal() 651 pd->fpclass = _class_double(px); in double_to_decimal() [all …]
|
H A D | char_to_decimal.h | 48 pd->fpclass = fp_normal;/* Defaults. */ 74 pd->fpclass = fp_zero; 143 pd->fpclass = fp_infinity; 169 pd->fpclass = fp_quiet; 176 pd->fpclass = fp_quiet; 519 pd->fpclass = fp_zero; /* True zero found. */ 529 pd->fpclass = fp_signaling; /* If anyone looks, x will be
|
H A D | _Qfutility.c | 49 if ((*pu).fpclass == fp_normal) { 51 (*pu).fpclass = fp_zero; 99 pu->fpclass = fp_zero; 257 switch (pu->fpclass) {
|
/titanic_44/usr/src/uts/sparc/fpu/ |
H A D | compare.c | 43 if ((px->fpclass == fp_quiet) || (py->fpclass == fp_quiet) || 44 (px->fpclass == fp_signaling) || (py->fpclass == fp_signaling)) { 48 } else if ((px->fpclass == fp_zero) && (py->fpclass == fp_zero)) 56 if ((int) px->fpclass > (int) py->fpclass) 58 else if ((int) px->fpclass < (int) py->fpclass) 61 /* same classes */ if (px->fpclass == fp_infinity)
|
H A D | unpack.c | 44 pu->fpclass = fp_zero; in unpackint32() 47 (*pu).fpclass = fp_normal; in unpackint32() 83 pu->fpclass = fp_zero; in unpackint64() 86 (*pu).fpclass = fp_normal; in unpackint64() 113 pu->fpclass = fp_zero; in unpacksingle() 116 pu->fpclass = fp_normal; in unpacksingle() 124 pu->fpclass = fp_infinity; in unpacksingle() 128 pu->fpclass = fp_quiet; in unpacksingle() 130 pu->fpclass = fp_signaling; in unpacksingle() 139 (*pu).fpclass = fp_normal; in unpacksingle() [all …]
|
H A D | addsub.c | 38 if ((int) px->fpclass <= (int) py->fpclass) { /* Reverse. */ 44 switch (px->fpclass) { 52 if (py->fpclass == fp_zero) { 65 pz->fpclass = px->fpclass; 100 if ((int) px->fpclass <= (int) py->fpclass) { /* Reverse. */ 107 switch (pz->fpclass) { 112 if (py->fpclass == fp_infinity) { 114 pz->fpclass = fp_quiet; 121 if (py->fpclass == fp_zero) 133 pz->fpclass = px->fpclass; [all …]
|
H A D | div.c | 41 if ((py->fpclass >= fp_quiet) || (px->fpclass >= fp_quiet)) { 42 if (py->fpclass >= px->fpclass) *pz = *py; 47 switch (px->fpclass) { 53 if (px->fpclass == py->fpclass) { /* 0/0 or inf/inf */ 55 pz->fpclass = fp_quiet; 59 switch (py->fpclass) { 62 pz->fpclass = fp_infinity; 65 pz->fpclass = fp_zero; 169 switch (px->fpclass) { 177 pz->fpclass = fp_quiet; [all …]
|
H A D | mul.c | 41 if ((int) px->fpclass <= (int) py->fpclass) { 49 if (pz->fpclass < fp_quiet) 52 switch (px->fpclass) { 58 if (py->fpclass == fp_zero) { 60 pz->fpclass = fp_quiet; 64 if (py->fpclass == fp_zero) { 65 pz->fpclass = fp_zero;
|
/titanic_44/usr/src/lib/libc/port/fp/ |
H A D | double_decim.c | 543 pd->fpclass = fp_zero; in single_to_decimal() 550 pd->fpclass = fp_subnormal; in single_to_decimal() 573 pd->fpclass = fp_subnormal; in single_to_decimal() 578 pd->fpclass = fp_infinity; in single_to_decimal() 580 pd->fpclass = fp_quiet; in single_to_decimal() 582 pd->fpclass = fp_signaling; in single_to_decimal() 586 pd->fpclass = fp_normal; in single_to_decimal() 615 pd->fpclass = fp_zero; in double_to_decimal() 619 pd->fpclass = fp_subnormal; in double_to_decimal() 624 pd->fpclass = fp_infinity; in double_to_decimal() [all …]
|
H A D | char_to_decimal.h | 124 pd->fpclass = fp_signaling; 145 pd->fpclass = fp_zero; 172 pd->fpclass = fp_normal; 196 pd->fpclass = fp_zero; 210 pd->fpclass = fp_normal; 259 pd->fpclass = fp_infinity; 297 pd->fpclass = fp_quiet; 387 pd->fpclass = fp_normal; 496 pd->fpclass = fp_normal; 551 pd->fpclass = fp_zero; [all …]
|
H A D | hex_bin.c | 50 pu->fpclass = pd->fpclass; in __hex_to_unpacked() 74 pu->fpclass = fp_zero; in __hex_to_unpacked() 121 if (pd->fpclass == fp_zero) { in __hex_to_single() 142 if (pd->fpclass == fp_zero) { in __hex_to_double() 166 if (pd->fpclass == fp_zero) { in __hex_to_quadruple() 192 if (pd->fpclass == fp_zero) { in __hex_to_extended()
|
H A D | econvert.c | 78 switch (dr.fpclass) { in econvert() 94 __infnanstring(dr.fpclass, ndigits, buf); in econvert() 123 switch (dr.fpclass) { in seconvert() 139 __infnanstring(dr.fpclass, ndigits, buf); in seconvert() 174 switch (dr.fpclass) { in qeconvert() 190 __infnanstring(dr.fpclass, ndigits, buf); in qeconvert()
|
H A D | fconvert.c | 57 switch (dr.fpclass) { in fconvert() 82 __infnanstring(dr.fpclass, ndigits, buf); in fconvert() 111 switch (dr.fpclass) { in sfconvert() 136 __infnanstring(dr.fpclass, ndigits, buf); in sfconvert() 188 switch (dr.fpclass) { in qfconvert() 205 __infnanstring(dr.fpclass, ndigits, buf); in qfconvert()
|
H A D | decimal_bin.c | 155 px->fpclass = pd->fpclass; in __decimal_to_unpacked() 167 px->fpclass = fp_zero; in __decimal_to_unpacked() 505 switch (pd->fpclass) { in decimal_to_single() 540 u.fpclass = fp_normal; in decimal_to_single() 548 u.fpclass = fp_normal; in decimal_to_single() 580 switch (pd->fpclass) { in decimal_to_double() 619 u.fpclass = fp_normal; in decimal_to_double() 627 u.fpclass = fp_normal; in decimal_to_double() 660 switch (pd->fpclass) { in decimal_to_extended() 699 u.fpclass = fp_normal; in decimal_to_extended() [all …]
|
H A D | finite.c | 35 #pragma weak _fpclass = fpclass 79 fpclass(double x) in fpclass() function
|
/titanic_44/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 212 pd->fpclass = fp_signaling; in wstring_to_decimal() 240 pd->fpclass = fp_normal; in wstring_to_decimal() 256 pd->fpclass = fp_zero; in wstring_to_decimal() 270 pd->fpclass = fp_normal; in wstring_to_decimal() 311 pd->fpclass = fp_infinity; in wstring_to_decimal() 330 pd->fpclass = fp_quiet; in wstring_to_decimal() 394 pd->fpclass = fp_normal; in wstring_to_decimal() 466 pd->fpclass = fp_normal; in wstring_to_decimal() 516 pd->fpclass = fp_zero; in wstring_to_decimal() 607 pd->fpclass = fp_signaling; in wstring_to_decimal()
|