This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
narrow32bit(f)
private
Convert to single-precision 32-bit floating point value.
# File lib/xsd/datatypes.rb, line 352
def narrow32bit(f)
if f.nan? || f.infinite?
f
elsif f.abs < MIN_POSITIVE_SINGLE
XSDFloat.positive?(f) ? POSITIVE_ZERO : NEGATIVE_ZERO
else
f
end
end