method

allow_nan?

allow_nan?()
public

Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise returns false.