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)
| 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. |
no test coverage detected