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

Method dd_from_value

crates/jit/src/instructions.rs:831–836  ·  view source on GitHub ↗

Creates a DDValue from a Value (assumed to represent an f64). This function initializes the high part with x and the low part to 0.0.

(&mut self, x: Value)

Source from the content-addressed store, hash-verified

829 /// Creates a DDValue from a Value (assumed to represent an f64).
830 /// This function initializes the high part with x and the low part to 0.0.
831 fn dd_from_value(&mut self, x: Value) -> DDValue {
832 DDValue {
833 hi: x,
834 lo: self.builder.ins().f64const(0.0),
835 }
836 }
837
838 /// Creates a DDValue from two f64 parts.
839 /// The 'hi' parameter sets the high part and 'lo' sets the low part.

Callers 2

dd_ln_1p_seriesMethod · 0.80
compile_fpowMethod · 0.80

Calls 1

insMethod · 0.80

Tested by

no test coverage detected