Float
ruby/spec describes 49 methods in core/float, and Metorex implements 49 of them. The parameters are what Method#parameters answers under Metorex.
Float#%: implemented, parameters[[:req, :other]]. Returnsselfmodulootheras a Float.Float#*: implemented, parameters[[:req]]. Returns the numeric product ofselfandother:Float#**: implemented, parameters[[:req]]. Returnsselfraised to the powerexponent:Float#+: implemented, parameters[[:req]]. Returns the sum ofselfandother; the result may be inexact (see Float):Float#+@: implemented, parameters[]. Returnsself.Float#-: implemented, parameters[[:req]]. Returns the difference ofselfandother:Float#-@: implemented, parameters[]. Returnsself, negated:Float#/: implemented, parameters[[:req]]. Returns the quotient ofselfandother:Float#<: implemented, parameters[[:req]]. Returns whether the value ofselfis less than the value ofother;othermust be numeric, but may not be Complex:Float#<=: implemented, parameters[[:req]]. Returns whether the value ofselfis less than or equal to the value ofother;othermust be numeric, but may not be Complex:Float#<=>: implemented, parameters[[:req]]. Comparesselfandother.Float#==: implemented, parameters[[:req]]. Returnstrueifotherhas the same value asself,falseotherwise:Float#===: implemented, parameters[[:req]]. Returnstrueifotherhas the same value asself,falseotherwise:Float#>: implemented, parameters[[:req]]. Returnstrueifselfis numerically greater thanother:Float#>=: implemented, parameters[[:req]]. Returnstrueifselfis numerically greater than or equal toother:Float#abs: implemented, parameters[]. Returns the absolute value ofself: An example calling it.Float#angle: implemented, parameters[]. Returns 0 ifselfis positive, Math::PI otherwise. An example calling it.Float#arg: implemented, parameters[]. Returns 0 ifselfis positive, Math::PI otherwise. An example calling it.Float#ceil: implemented, parameters[[:opt, :digits]]. Returns a numeric that is a "ceiling" value forself, as specified by the givenndigits, which must be an integer-convertible object. An example calling it.Float#coerce: implemented, parameters[[:req, :other]]. Returns a 2-element array containingotherconverted to a Float andself: An example calling it.Float#denominator: implemented, parameters[]. Returns the denominator (always positive). An example calling it.Float#divmod: implemented, parameters[[:req, :other]]. Returns a 2-element array[q, r], whereq = (self/other).floor # Quotient. An example calling it.Float#dup: implemented, parameters[]. Returnsself. An example calling it.Float#eql?: implemented, parameters[[:req, :other]]. Returnstrueifotheris a Float with the same value asself,falseotherwise: An example calling it.Float#fdiv: implemented, parameters[[:req, :other]]. Returns the quotient from dividingselfbyother: An example calling it.Float#finite?: implemented, parameters[]. Returnstrueifselfis notInfinity,-Infinity, orNaN,falseotherwise: An example calling it.Float#floor: implemented, parameters[[:opt, :digits]]. Returns a float or integer that is a "floor" value forself, as specified byndigits, which must be an integer-convertible object. An example calling it.Float#hash: implemented, parameters[]. Returns the integer hash value forself. An example calling it.Float#infinite?: implemented, parameters[]. Returns: An example calling it.Float#inspect: implemented, parameters[]. Returns a string containing a representation ofself; depending of the value ofself, the string representation may contain: An example calling it.Float#magnitude: implemented, parameters[]. Returns the absolute value ofself: An example calling it.Float#modulo: implemented, parameters[[:req, :other]]. Returnsselfmodulootheras a Float. An example calling it.Float#nan?: implemented, parameters[]. Returnstrueifselfis a NaN,falseotherwise. An example calling it.Float#negative?: implemented, parameters[]. Returnstrueifselfis less than 0,falseotherwise. An example calling it.Float#next_float: implemented, parameters[]. Returns the next-larger representable Float. An example calling it.Float#numerator: implemented, parameters[]. Returns the numerator. An example calling it.Float#phase: implemented, parameters[]. Returns 0 ifselfis positive, Math::PI otherwise. An example calling it.Float#positive?: implemented, parameters[]. Returnstrueifselfis greater than 0,falseotherwise. An example calling it.Float#prev_float: implemented, parameters[]. Returns the next-smaller representable Float. An example calling it.Float#quo: implemented, parameters[[:req, :other]]. Returns the quotient from dividingselfbyother: An example calling it.Float#rationalize: implemented, parameters[[:rest, :limits]]. Returns a simpler approximation of the value (flt-|eps| <= result <= flt+|eps|). An example calling it.Float#round: implemented, parameters[[:rest]]. Returnsselfrounded to the nearest value with a precision ofndigitsdecimal digits. An example calling it.Float#to_f: implemented, parameters[[:rest, :args]]. Returnsself(which is already a Float). An example calling it.Float#to_i: implemented, parameters[]. Returnsselftruncated to an Integer. An example calling it.Float#to_int: implemented, parameters[]. Returnsselftruncated to an Integer. An example calling it.Float#to_r: implemented, parameters[]. Returns the value as a rational. An example calling it.Float#to_s: implemented, parameters[]. Returns a string containing a representation ofself; depending of the value ofself, the string representation may contain: An example calling it.Float#truncate: implemented, parameters[[:opt, :digits]]. Returnsselftruncated (toward zero) to a precision ofndigitsdecimal digits. An example calling it.Float#zero?: implemented, parameters[]. Returnstrueifselfis 0.0,falseotherwise. An example calling it.
The method summaries are the first sentences of Ruby's own documentation for each method, read from MRI 4.0.6's ri data. Ruby's documentation is distributed under Ruby's license.