core :: Writer :: write_float
value
on 32 bitsUsing this format may result in a loss of precision as it uses less bits
than Nit Float
.
# Write a floating point `value` on 32 bits
#
# Using this format may result in a loss of precision as it uses less bits
# than Nit `Float`.
fun write_float(value: Float)
do
for i in [0..4[ do write_byte value.float_byte_at(i, big_endian)
end
lib/binary/binary.nit:114,2--121,4