Subtracts DDValue b from DDValue a by negating b and then using the addition function.
(&mut self, a: DDValue, b: DDValue)
| 887 | |
| 888 | /// Subtracts DDValue b from DDValue a by negating b and then using the addition function. |
| 889 | fn dd_sub(&mut self, a: DDValue, b: DDValue) -> DDValue { |
| 890 | let neg_b = self.dd_neg(b); |
| 891 | self.dd_add(a, neg_b) |
| 892 | } |
| 893 | |
| 894 | /// Multiplies two DDValue numbers using double–double arithmetic. |
| 895 | /// It calculates the high product, uses a fused multiply–add (FMA) to capture rounding error, |