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