decDouble (64-bit) computations
|
Operation
| decDouble
| decNumber
|
Add (same-sign addition)
16-digit, unaligned, rounded
| 248
| 848
|
Subtract (different-signs addition)
16-digit, unaligned, rounded, borrow
| 288
|
Compare
16-digit, unaligned, mismatch at end
| 126
| 442
|
CompareTotal
16-digit, unaligned, mismatch at end
| 149
| 594
|
Divide
16- by 16-digit (rounded)
| 828
| 1576
|
FMA (fused multiply-add)
16-digit, subtraction, rounded
| 785
| 1683
|
LogB (returns a decDouble)
Negative result
| 48
| 279
|
MaxNum/MinNum
16-digit, unaligned, mismatch at end
| 155
| 656
|
Multiply
16×16-digit, round needed
| 362
| 1305
|
Quantize
16-digit, round all-nines
| 112
| 422
|
ScaleB (from decDoubles)
Underflow
| 212
| 513
|
To integral value
16-digit, round all-nines
| 135
| 709
|