| 959 | } |
| 960 | |
| 961 | Decimal128 Decimal128::pow(DecimalStatus decSt, Decimal128 op2) const |
| 962 | { |
| 963 | decNumber dn, dn2; |
| 964 | decQuadToNumber(&dec, &dn); |
| 965 | decQuadToNumber(&op2.dec, &dn2); |
| 966 | |
| 967 | DecimalContext context(this, decSt); |
| 968 | decNumberPower(&dn, &dn, &dn2, &context); |
| 969 | |
| 970 | Decimal128 rc; |
| 971 | decQuadFromNumber(&rc.dec, &dn, &context); |
| 972 | return rc; |
| 973 | } |
| 974 | |
| 975 | Decimal128 Decimal128::ln(DecimalStatus decSt) const |
| 976 | { |