class Ruby::Marshal::Float
- Ruby::Marshal::Float
- Ruby::Marshal::StreamObject
- Reference
- Object
Overview
“f” represents a Float object. Following the type byte is a byte sequence containing the float value. The following values are special:
“inf” - Positive infinity “-inf” - Negative infinity “nan” - Not a Number
Otherwise the byte sequence contains a C double (loadable by strtod(3)). Older minor versions of Marshal also stored extra mantissa bits to ensure portability across platforms but 4.8 does not include these.