| 699 | } |
| 700 | |
| 701 | int Decimal128::toInteger(DecimalStatus decSt, int scale) const |
| 702 | { |
| 703 | Decimal128 tmp(*this); |
| 704 | tmp.setScale(decSt, -scale); |
| 705 | DecimalContext context(this, decSt); |
| 706 | enum rounding rMode = decContextGetRounding(&context); |
| 707 | return decQuadToInt32(&tmp.dec, &context, rMode); |
| 708 | } |
| 709 | |
| 710 | void Decimal128::toString(DecimalStatus decSt, unsigned length, char* to) const |
| 711 | { |
nothing calls this directly
no test coverage detected