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

Method dd_from_parts

crates/jit/src/instructions.rs:840–845  ·  view source on GitHub ↗

Creates a DDValue from two f64 parts. The 'hi' parameter sets the high part and 'lo' sets the low part.

(&mut self, hi: f64, lo: f64)

Source from the content-addressed store, hash-verified

838 /// Creates a DDValue from two f64 parts.
839 /// The 'hi' parameter sets the high part and 'lo' sets the low part.
840 fn dd_from_parts(&mut self, hi: f64, lo: f64) -> DDValue {
841 DDValue {
842 hi: self.builder.ins().f64const(hi),
843 lo: self.builder.ins().f64const(lo),
844 }
845 }
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 {

Callers 2

dd_lnMethod · 0.80
dd_expMethod · 0.80

Calls 1

insMethod · 0.80

Tested by

no test coverage detected