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

Method dd_to_f64

crates/jit/src/instructions.rs:848–850  ·  view source on GitHub ↗

Converts a DDValue back to a single f64 value by adding the high and low parts.

(&mut self, dd: DDValue)

Source from the content-addressed store, hash-verified

846
847 /// Converts a DDValue back to a single f64 value by adding the high and low parts.
848 fn dd_to_f64(&mut self, dd: DDValue) -> Value {
849 self.builder.ins().fadd(dd.hi, dd.lo)
850 }
851
852 /// Computes the negation of a DDValue.
853 /// It subtracts both the high and low parts from zero.

Callers 2

dd_expMethod · 0.80
compile_fpowMethod · 0.80

Calls 1

insMethod · 0.80

Tested by

no test coverage detected