キーワード
- % (12)
- * (12)
- ** (12)
- + (12)
- +@ (12)
- - (12)
- -@ (12)
-
/ (12) - < (12)
- <= (12)
- <=> (12)
- == (12)
- === (12)
- > (12)
- >= (12)
- BASE (12)
- BigDecimal (36)
- BigMath (12)
- E (12)
-
EXCEPTION
_ ALL (12) -
EXCEPTION
_ INFINITY (12) -
EXCEPTION
_ NaN (12) -
EXCEPTION
_ OVERFLOW (12) -
EXCEPTION
_ UNDERFLOW (12) -
EXCEPTION
_ ZERODIVIDE (12) - INFINITY (12)
- Jacobian (12)
- LUSolve (12)
- NAN (12)
- Newton (12)
- PI (12)
-
ROUND
_ CEILING (12) -
ROUND
_ DOWN (12) -
ROUND
_ FLOOR (12) -
ROUND
_ HALF _ DOWN (12) -
ROUND
_ HALF _ EVEN (12) -
ROUND
_ HALF _ UP (12) -
ROUND
_ MODE (12) -
ROUND
_ UP (12) -
SIGN
_ NEGATIVE _ FINITE (12) -
SIGN
_ NEGATIVE _ INFINITE (12) -
SIGN
_ NEGATIVE _ ZERO (12) -
SIGN
_ NaN (12) -
SIGN
_ POSITIVE _ FINITE (12) -
SIGN
_ POSITIVE _ INFINITE (12) -
SIGN
_ POSITIVE _ ZERO (12) - VERSION (8)
-
_ dump (12) -
_ load (12) - abs (12)
- add (12)
- atan (12)
- ceil (24)
- clone (8)
- coerce (12)
- cos (12)
- dfdxi (12)
- div (24)
- divmod (12)
-
double
_ fig (12) - dup (8)
- eql? (12)
- exp (12)
- exponent (12)
- finite? (12)
- fix (12)
- floor (24)
- frac (12)
- hash (12)
- infinite? (12)
- inspect (12)
- isEqual (12)
- jacobian (12)
- limit (12)
- log (12)
- ludecomp (12)
- lusolve (12)
- mode (24)
- modulo (12)
- mult (12)
- nan? (12)
- new (12)
- nlsolve (12)
- nonzero? (12)
- norm (12)
- power (24)
- precs (12)
- quo (12)
- remainder (12)
- round (36)
-
save
_ exception _ mode (12) -
save
_ limit (12) -
save
_ rounding _ mode (12) - sign (12)
- sin (12)
- split (12)
- sqrt (24)
- sub (12)
-
to
_ d (79) -
to
_ digits (12) -
to
_ f (12) -
to
_ i (12) -
to
_ int (12) -
to
_ r (12) -
to
_ s (24) - truncate (24)
- ver (5)
- zero? (12)
検索結果
先頭5件
-
BigDecimal
# / (other) -> BigDecimal (2.0) -
商を計算します。
...商を計算します。
@param other self を割る数を指定します。
詳細は Numeric#quo を参照して下さい。
計算結果の精度についてはlib:bigdecimal#precisionを参照してください。... -
BigDecimal
# <(other) -> bool (2.0) -
self が other より小さい場合に true を、そうでない場合に false を返しま す。
self が other より小さい場合に true を、そうでない場合に false を返しま
す。 -
BigDecimal
# <=(other) -> bool (2.0) -
self が other より小さいか等しい場合に true を、そうでない場合に false を返します。
self が other より小さいか等しい場合に true を、そうでない場合に false
を返します。 -
BigDecimal
# <=>(other) -> -1 | 0 | 1 | nil (2.0) -
self が other より大きい場合に 1 を、等しい場合に 0 を、小さい場合には -1 をそれぞれ返します。
self が other より大きい場合に 1 を、等しい場合に 0 を、小さい場合には
-1 をそれぞれ返します。
self と other が比較できない場合には nil を返します。 -
BigDecimal
# ==(other) -> bool (2.0) -
self が other と等しい場合に true を、そうでない場合に false を返します。
...self が other と等しい場合に true を、そうでない場合に false を返します。
それぞれの値は BigDecimal#coerce で変換して比較される場合があります。
//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('1.0') == 1.0 # => true
//}... -
BigDecimal
# ===(other) -> bool (2.0) -
self が other と等しい場合に true を、そうでない場合に false を返します。
...self が other と等しい場合に true を、そうでない場合に false を返します。
それぞれの値は BigDecimal#coerce で変換して比較される場合があります。
//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('1.0') == 1.0 # => true
//}... -
BigDecimal
# >(other) -> bool (2.0) -
self が other より大きい場合に true を、そうでない場合に false を返しま す。
self が other より大きい場合に true を、そうでない場合に false を返しま
す。 -
BigDecimal
# >=(other) -> bool (2.0) -
self が other より大きいか等しい場合に true を、そうでない場合に false を返します。
self が other より大きいか等しい場合に true を、そうでない場合に false
を返します。 -
BigDecimal
# _ dump -> String (2.0) -
BigDecimal._load で復元可能な文字列を返します。 Marshal.#dump から呼び出されます。
...
BigDecimal._load で復元可能な文字列を返します。
Marshal.#dump から呼び出されます。
//emlist[][ruby]{
require 'bigdecimal'
inf = BigDecimal('Infinity') # => Infinity
s = Marshal.dump(inf) # => "\x04\bu:\x0FBigDecimal\x0F9:Infinity"
Marshal.load(s) # => I......nfinity
//}
@see BigDecimal._load, Marshal.#dump, Marshal.#load...