Home
last modified time | relevance | path

Searched refs:kluge (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dpack_float.c160 single_equivalence kluge; local
162 kluge.f.msw.sign = pu->sign;
165 kluge.f.msw.exponent = 0;
166 kluge.f.msw.significand = 0;
170 kluge.f.msw.exponent = 0xff;
171 kluge.f.msw.significand = 0;
174 kluge.f.msw.exponent = 0xff;
175 kluge.f.msw.significand = 0x400000 | (0x3fffff & (pu->significand[0] >> 8));
181 kluge.f.msw.exponent = 0;
186 kluge.f.msw.exponent = 1;
[all …]
H A Ddecimal_bin.c413 single_equivalence kluge; local
418 kluge.f.msw.sign = pd->sign ? 1 : 0;
421 kluge.f.msw.exponent = 0;
422 kluge.f.msw.significand = 0;
425 kluge.f.msw.exponent = 0xff;
426 kluge.f.msw.significand = 0;
429 kluge.f.msw.exponent = 0xff;
430 kluge.f.msw.significand = 0x7fffff;
433 kluge.f.msw.exponent = 0xff;
434 kluge.f.msw.significand = 0x3fffff;
[all …]
H A Dunpack_float.c36 single_equivalence kluge; in _class_single() local
38 kluge.x = *x; in _class_single()
39 if (kluge.f.msw.exponent == 0) { /* 0 or sub */ in _class_single()
40 if (kluge.f.msw.significand == 0) in _class_single()
44 } else if (kluge.f.msw.exponent == 0xff) { /* inf or nan */ in _class_single()
45 if (kluge.f.msw.significand == 0) in _class_single()
47 else if (kluge.f.msw.significand >= 0x400000) in _class_single()
58 extended_equivalence kluge; in _class_extended() local
60 kluge.x[0] = (*x)[0]; in _class_extended()
61 kluge.x[1] = (*x)[1]; in _class_extended()
[all …]
H A D_unpack_dble.c88 double_equivalence kluge; in _class_double() local
90 kluge.x = *x; in _class_double()
91 if (kluge.f.msw.exponent == 0) { /* 0 or sub */ in _class_double()
92 if ((kluge.f.msw.significand == 0) && (kluge.f.significand2 == 0)) in _class_double()
96 } else if (kluge.f.msw.exponent == 0x7ff) { /* inf or nan */ in _class_double()
97 if ((kluge.f.msw.significand == 0) && (kluge.f.significand2 == 0)) in _class_double()
99 else if (kluge.f.msw.significand >= 0x40000) in _class_double()
171 quadruple_equivalence kluge; in _class_quadruple() local
176 kluge.x = *x; in _class_quadruple()
178 kluge.x.u[i] = x->u[i]; in _class_quadruple()
[all …]
H A Dfloat_decim.c43 single_equivalence kluge; local
47 kluge.x = *px;
48 pd->sign = kluge.f.msw.sign;
60 _unpack_single(&u, &kluge.x);
72 extended_equivalence kluge; local
76 kluge.x[0] = (*px)[0];
77 kluge.x[1] = (*px)[1];
78 kluge.x[2] = (*px)[2];
79 pd->sign = kluge.f.msw.sign;
H A Ddouble_decim.c645 double_equivalence kluge; in double_to_decimal() local
649 kluge.x = *px; in double_to_decimal()
650 pd->sign = kluge.f.msw.sign; in double_to_decimal()
662 _unpack_double(&u, &kluge.x); in double_to_decimal()
671 quadruple_equivalence kluge; in quadruple_to_decimal() local
678 kluge.x = *px; in quadruple_to_decimal()
680 kluge.x.u[i] = px->u[i]; in quadruple_to_decimal()
682 pd->sign = kluge.f.msw.sign; in quadruple_to_decimal()
/titanic_41/usr/src/lib/libc/port/fp/
H A Dpack_float.c157 single_equivalence kluge; in __pack_single() local
161 kluge.f.msw.sign = pu->sign; in __pack_single()
164 kluge.f.msw.exponent = 0; in __pack_single()
165 kluge.f.msw.significand = 0; in __pack_single()
169 kluge.f.msw.exponent = 0xff; in __pack_single()
170 kluge.f.msw.significand = 0; in __pack_single()
173 kluge.f.msw.exponent = 0xff; in __pack_single()
174 kluge.f.msw.significand = 0x400000 | in __pack_single()
181 kluge.f.msw.exponent = 0; in __pack_single()
186 kluge.f.msw.exponent = 1; in __pack_single()
[all …]
H A Dhex_bin.c117 single_equivalence kluge; in __hex_to_single() local
122 kluge.f.msw.sign = pd->sign? 1 : 0; in __hex_to_single()
123 kluge.f.msw.exponent = 0; in __hex_to_single()
124 kluge.f.msw.significand = 0; in __hex_to_single()
125 *px = kluge.x; in __hex_to_single()
138 double_equivalence kluge; in __hex_to_double() local
143 kluge.f.msw.sign = pd->sign? 1 : 0; in __hex_to_double()
144 kluge.f.msw.exponent = 0; in __hex_to_double()
145 kluge.f.msw.significand = 0; in __hex_to_double()
146 kluge.f.significand2 = 0; in __hex_to_double()
[all …]
H A Ddecimal_bin.c498 single_equivalence *kluge; in decimal_to_single() local
504 kluge = (single_equivalence *)px; in decimal_to_single()
507 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
508 kluge->f.msw.exponent = 0; in decimal_to_single()
509 kluge->f.msw.significand = 0; in decimal_to_single()
514 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
515 kluge->f.msw.exponent = 0xff; in decimal_to_single()
516 kluge->f.msw.significand = 0; in decimal_to_single()
521 kluge->f.msw.sign = (pd->sign)? 1 : 0; in decimal_to_single()
522 kluge->f.msw.exponent = 0xff; in decimal_to_single()
[all …]
H A D_base_sup.c97 quadruple_equivalence kluge; in __class_quadruple() local
99 kluge.x = *x; in __class_quadruple()
100 if (kluge.f.msw.exponent == 0) { /* 0 or sub */ in __class_quadruple()
101 if ((kluge.f.msw.significand == 0) && in __class_quadruple()
102 (kluge.f.significand2 == 0) && in __class_quadruple()
103 (kluge.f.significand3 == 0) && in __class_quadruple()
104 (kluge.f.significand4 == 0)) in __class_quadruple()
108 } else if (kluge.f.msw.exponent == 0x7fff) { /* inf or nan */ in __class_quadruple()
109 if ((kluge.f.msw.significand == 0) && in __class_quadruple()
110 (kluge.f.significand2 == 0) && in __class_quadruple()
[all …]
H A Ddouble_decim.c532 single_equivalence *kluge; in single_to_decimal() local
537 kluge = (single_equivalence *)px; in single_to_decimal()
538 pd->sign = kluge->f.msw.sign; in single_to_decimal()
541 if (kluge->f.msw.exponent == 0) { /* 0 or subnormal */ in single_to_decimal()
542 if (kluge->f.msw.significand == 0) { in single_to_decimal()
576 } else if (kluge->f.msw.exponent == 0xff) { /* inf or nan */ in single_to_decimal()
577 if (kluge->f.msw.significand == 0) in single_to_decimal()
579 else if (kluge->f.msw.significand >= 0x400000) in single_to_decimal()
604 double_equivalence *kluge; in double_to_decimal() local
608 kluge = (double_equivalence *)px; in double_to_decimal()
[all …]
/titanic_41/usr/src/uts/sparc/v9/fpu/
H A Dfpu.c422 } kluge; in fp_precise() local
441 inst_ftt = _fp_read_inst((uint32_t *)rp->r_pc, &kluge.i, &fpsd); in fp_precise()
445 kluge.i = *(uint_t *)rp->r_pc; in fp_precise()
475 pfpq->fpq_instr = kluge.i; in fp_precise()
483 (fsr_type *)&fp->fpu_fsr, gsr, kluge.i); in fp_precise()
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c189 __m_slk_clear(int kluge) in __m_slk_clear() argument
197 if (kluge) { in __m_slk_clear()
218 (void) strcpy(p, (kluge) ? "" : " "); in __m_slk_clear()