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

Method dd_from_f64

crates/jit/src/instructions.rs:822–827  ·  view source on GitHub ↗

Creates a double–double (DDValue) from a regular f64 constant. The high part is set to x and the low part is set to 0.0.

(&mut self, x: f64)

Source from the content-addressed store, hash-verified

820 /// Creates a double–double (DDValue) from a regular f64 constant.
821 /// The high part is set to x and the low part is set to 0.0.
822 fn dd_from_f64(&mut self, x: f64) -> DDValue {
823 DDValue {
824 hi: self.builder.ins().f64const(x),
825 lo: self.builder.ins().f64const(0.0),
826 }
827 }
828
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.

Callers 3

dd_ln_1p_seriesMethod · 0.80
dd_lnMethod · 0.80
dd_expMethod · 0.80

Calls 1

insMethod · 0.80

Tested by

no test coverage detected