Lines Matching refs:comb
32 UINT32 sign, comb, exp;
37 comb = (ba & 0x7ff00000ul) >> 20;
40 if ((comb & 0x780) == 0x780) {
44 if ((comb & 0x600) == 0x600) { // G0..G1 = 11 -> exp is G2..G11
45 exp = (comb >> 1) & 0xff;
46 bcoeff = ((8 + (comb & 1)) << 20) | trailing;
48 exp = (comb >> 3) & 0xff;
49 bcoeff = ((comb & 7) << 20) | trailing;
61 UINT64 sign, comb, exp;
66 comb = (ba & 0x7ffc000000000000ull) >> 50;
69 if ((comb & 0x1e00) == 0x1e00) {
73 if ((comb & 0x1800) == 0x1800) { // G0..G1 = 11 -> exp is G2..G11
74 exp = (comb >> 1) & 0x3ff;
75 bcoeff = ((8 + (comb & 1)) << 50) | trailing;
77 exp = (comb >> 3) & 0x3ff;
78 bcoeff = ((comb & 7) << 50) | trailing;
97 UINT32 sign, comb, exp, trailing;
103 comb = (ba & 0x7ff00000) >> 20;
107 if ((comb & 0x7c0) == 0x780) {
111 } else if ((comb & 0x7c0) == 0x7c0) {
118 if ((comb & 0x600) == 0x600) { // G0..G1 = 11 -> exp is G2..G11
119 exp = (comb >> 1) & 0xff;
120 bcoeff = ((8 + (comb & 1)) << 20) | trailing;
122 exp = (comb >> 3) & 0xff;
123 bcoeff = ((comb & 7) << 20) | trailing;
160 UINT64 sign, comb, exp;
170 comb = (ba & 0x7ffc000000000000ull) >> 50;
174 if ((comb & 0x1f00) == 0x1e00) {
178 } else if ((comb & 0x1e00) == 0x1e00) {
185 if ((comb & 0x1800) == 0x1800) { // G0..G1 = 11 -> exp is G2..G11
186 exp = (comb >> 1) & 0x3ff;
187 bcoeff = ((8 + (comb & 1)) << 50) | trailing;
189 exp = (comb >> 3) & 0x3ff;
190 bcoeff = ((comb & 7) << 50) | trailing;
254 UINT32 sign, comb, exp;
261 comb = (in & 0x7ff00000) >> 20;
264 if ((comb & 0x7e0) == 0x780) { // G0..G4 = 1111 -> Inf
267 } else if ((comb & 0x7c0) == 0x7c0) { // G0..G5 = 11111 -> NaN
271 if ((comb & 0x600) == 0x600) { // G0..G1 = 11 -> d0 = 8 + G4
272 d0 = ((comb >> 6) & 1) | 8;
273 exp = ((comb & 0x180) >> 1) | (comb & 0x3f);
275 d0 = (comb >> 6) & 0x7;
276 exp = ((comb & 0x600) >> 3) | (comb & 0x3f);
305 UINT64 sign, comb, exp;
316 comb = (in & 0x7ffc000000000000ull) >> 50;
319 if ((comb & 0x1f00) == 0x1e00) { // G0..G4 = 1111 -> Inf
322 } else if ((comb & 0x1f00) == 0x1f00) { // G0..G5 = 11111 -> NaN
327 if ((comb & 0x1800) == 0x1800) { // G0..G1 = 11 -> d0 = 8 + G4
328 d0 = ((comb >> 8) & 1) | 8;
329 // d0 = (comb & 0x0100 ? 9 : 8);
330 exp = (comb & 0x600) >> 1;
331 // exp = (comb & 0x0400 ? 1 : 0) * 0x200 + (comb & 0x0200 ? 1 : 0) * 0x100; // exp leading bits are G2..G3
333 d0 = (comb >> 8) & 0x7;
334 exp = (comb & 0x1800) >> 3;
335 // exp = (comb & 0x1000 ? 1 : 0) * 0x200 + (comb & 0x0800 ? 1 : 0) * 0x100; // exp loading bits are G0..G1
345 exp += (comb & 0xff);
364 UINT32 comb, exp;
373 comb = (ba.w[HIGH_128W] & 0x7fffc00000000000ull) >> 46;
378 if ((comb & 0x1f000) == 0x1e000) { // G0..G4 = 1111 -> Inf
383 } else if ((comb & 0x1f000) == 0x1f000) {
396 if ((comb & 0x18000) == 0x18000) { // G0..G1 = 11 -> exp is G2..G11
397 exp = (comb >> 1) & 0x3fff;
399 ((UINT64) (8 + (comb & 1)) << (UINT64) 46) | trailing.w[1];
402 exp = (comb >> 3) & 0x3fff;
404 ((UINT64) (comb & 7) << (UINT64) 46) | trailing.w[1];
500 UINT64 exp, comb;
509 comb = (in.w[HIGH_128W] & 0x7fffc00000000000ull) >> 46;
514 if ((comb & 0x1f000) == 0x1e000) { // G0..G4 = 1111 -> Inf
518 } else if ((comb & 0x1f000) == 0x1f000) { // G0..G4 = 11111 -> NaN
523 if ((comb & 0x18000) == 0x18000) { // G0..G1 = 11 -> d0 = 8 + G4
524 d0 = 8 + (comb & 0x01000 ? 1 : 0);
526 (comb & 0x04000 ? 1 : 0) * 0x2000 +
527 (comb & 0x02000 ? 1 : 0) * 0x1000;
531 4 * (comb & 0x04000 ? 1 : 0) + 2 * (comb & 0x2000 ? 1 : 0) +
532 (comb & 0x1000 ? 1 : 0);
534 (comb & 0x10000 ? 1 : 0) * 0x2000 +
535 (comb & 0x08000 ? 1 : 0) * 0x1000;
562 exp += (comb & 0xfff);
576 UINT64 sign, comb, exp;
588 comb = (ba & 0x7fffc00000000000ull) >> 46;
591 if ((comb & 0x18000) == 0x18000) { // G0..G1 = 11 -> exp is G2..G11
592 exp = (comb >> 1) & 0x3fff;
593 bcoeff = ((8 + (comb & 1)) << 46) | trailing;
595 exp = (comb >> 3) & 0x3fff;
596 bcoeff = ((comb & 7) << 46) | trailing;
599 if ((comb
614 } else if ((comb & 0x1e000) == 0x1e000) { //Inf
645 UINT32 sign, comb, exp;
650 comb = (ba & 0x7ff00000) >> 20;
653 if ((comb & 0x600) == 0x600) { // G0..G1 = 11 -> exp is G2..G11
654 exp = (comb >> 1) & 0xff;
655 bcoeff = ((8 + (comb & 1)) << 20) | trailing;
657 exp = (comb >> 3) & 0xff;
658 bcoeff = ((comb & 7) << 20) | trailing;
661 if ((comb & 0x7c0) == 0x7c0) { //NaN
667 } else if ((comb & 0x780) == 0x780) { //Inf
682 UINT64 sign, comb, exp;
687 comb = (ba & 0x7ffc000000000000ull) >> 50;
691 if ((comb & 0x1800) == 0x1800) { // G0..G1 = 11 -> exp is G2..G11
692 exp = (comb >> 1) & 0x3ff;
693 bcoeff = ((8 + (comb & 1)) << 50) | trailing;
695 exp = (comb >> 3) & 0x3ff;
696 bcoeff = ((comb & 7) << 50) | trailing;
699 if ((comb & 0x1f00) == 0x1f00) { //NaN
705 } else if ((comb & 0x1e00) == 0x1e00) { //Inf
720 UINT64 sign, comb, exp;
732 comb = (ba & 0x7fffc00000000000ull) >> 46;
735 if ((comb & 0x18000) == 0x18000) { // G0..G1 = 11 -> exp is G2..G11
736 exp = (comb >> 1) & 0x3fff;
737 bcoeff = ((8 + (comb & 1)) << 46) | trailing;
739 exp = (comb >> 3) & 0x3fff;
740 bcoeff = ((comb & 7) << 46) | trailing;
743 if ((comb & 0x1f000) == 0x1f000) { //NaN
759 } else if ((comb & 0x1e000) == 0x1e000) { //Inf