We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8316cec commit de7bccaCopy full SHA for de7bcca
src/librustc/mir/interpret/value.rs
@@ -328,13 +328,13 @@ impl<'tcx, Tag> Scalar<Tag> {
328
329
#[inline]
330
pub fn from_f32(f: Single) -> Self {
331
- // We trust apfloat to give us properly truncated data
+ // We trust apfloat to give us properly truncated data.
332
Scalar::Raw { data: f.to_bits(), size: 4 }
333
}
334
335
336
pub fn from_f64(f: Double) -> Self {
337
338
Scalar::Raw { data: f.to_bits(), size: 8 }
339
340
0 commit comments