| 541 | } |
| 542 | |
| 543 | void Decimal64::grabKey(ULONG* key) |
| 544 | { |
| 545 | int exp, sign; |
| 546 | unsigned char bcd[DECDOUBLE_Pmax]; |
| 547 | decClass cl; |
| 548 | |
| 549 | grab(key, DECDOUBLE_Pmax, DECDOUBLE_Bias, sizeof(dec), bcd, sign, exp, cl); |
| 550 | |
| 551 | if (cl == DEC_CLASS_POS_NORMAL) |
| 552 | decDoubleFromBCD(&dec, exp, bcd, sign); |
| 553 | else |
| 554 | { |
| 555 | DecimalContext context(this, 0); |
| 556 | decNumber number; |
| 557 | |
| 558 | setSpecial(&number, cl, sign); |
| 559 | decDoubleFromNumber(&dec, &number, &context); |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | Decimal64 Decimal64::quantize(DecimalStatus decSt, Decimal64 op2) const |
| 564 | { |
no test coverage detected