MCPcopy Index your code
hub / github.com/RustPython/RustPython / dd_sub

Method dd_sub

crates/jit/src/instructions.rs:889–892  ·  view source on GitHub ↗

Subtracts DDValue b from DDValue a by negating b and then using the addition function.

(&mut self, a: DDValue, b: DDValue)

Source from the content-addressed store, hash-verified

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,

Callers 1

dd_expMethod · 0.80

Calls 2

dd_negMethod · 0.80
dd_addMethod · 0.80

Tested by

no test coverage detected