標準クラス・モジュール > Float
このページは書きかけの項目です。
Floatクラスのオブジェクトは浮動小数点数を表します。
Floatの親や祖先クラスはモジュールも含めると次のようになります。PrecisionはRuby 1.9で廃止されました。
Float (< Precision) < Numeric < Comparable < Object < Kernel (< BasicObject)
この一覧には、親クラスNumericのメソッドや、モジュールPrecision、Comparableのメソッドも混ぜてあります。
なお、三角関数などのメソッドはMathモジュールを参照してください。
induced_from : % : * : ** : + : +@ : - : -@ : / : <, <=, >, >= : <=> : == : === : Ruby 1.9abs : between? : ceil : coerce : div : divmod : eql? : fdiv : Ruby 1.9finite? : floor : hash : infinite? : integer? : magnitude : Ruby 1.9modulo : nan? : nonzero? : prec : prec_f : prec_i : quo : Ruby 1.9real? : Ruby 1.9remainder : round : singleton_method_added : step : to_f : to_i : to_int : to_s : truncate : zero? : abs2 : angle : arg : conj : conjugate : imag : imaginary : phase : polar : real : rect : rectangular : to_c : denominator : numerator : to_r :