Class: Float
Constant Summary
- INFINITY =
`Infinity`
- NAN =
`NaN`
- EPSILON =
`Number.EPSILON`
Class Method Summary collapse
Methods inherited from Numeric
#%, #&, #*, #**, #+, #+@, #-, #-@, #/, #<, #<<, #<=, #<=>, #==, #>, #>=, #>>, #[], #^, #__id__, #abs, #ceil, #chr, #coerce, #conj, #divmod, #downto, #equal?, #even?, #finite?, #floor, #gcd, #gcdlcm, #hash, #infinite?, #instance_of?, #integer?, #is_a?, #lcm, #nan?, #negative?, #next, #nonzero?, #odd?, #ord, #positive?, #pred, #round, #send_coerced, #size, #step, #times, #to_f, #to_i, #to_s, #upto, #zero?, #|, #~
Methods included from Comparable
#<, #<=, #==, #>, #>=, #between?, normalize
Class Method Details
.===(other) ⇒ Object
537 538 539 |
# File 'opal/opal/corelib/numeric.rb', line 537 def self.===(other) `!!other.$$is_number` end |