Running the examples for read_f32_into_unchecked and write_f32_into produce two
warning: literal out of range for f32
warnings per example, since two of the values in the example input are too large for a 32 bit IEEE 754 floating point number: 31.312e311 and -11.32e91. (Presumably, these were simply copied from the f64 examples.)
Using, for example, 31.312e31 and -11.32e19 instead, will fix this issue (though that may be considered confusingly close to the f64 examples, with a potential copy-paste regression waiting to happen).
Running the examples for
read_f32_into_unchecked
andwrite_f32_into
produce twowarnings per example, since two of the values in the example input are too large for a 32 bit IEEE 754 floating point number:
31.312e311
and-11.32e91
. (Presumably, these were simply copied from the f64 examples.)Using, for example,
31.312e31
and-11.32e19
instead, will fix this issue (though that may be considered confusingly close to the f64 examples, with a potential copy-paste regression waiting to happen).