Ruby/Справочник/Bignum: различия между версиями
Содержимое удалено Содержимое добавлено
Новая: ==Класс Bignum < Integer== Bignum objects hold integers outside the range of Fixnum. Bignum objects are created automatically when integer calculations would otherwise overflow a Fi... |
Нет описания правки |
||
Строка 33:
123456789 ** -2 #=> 6.5610001194102e-17</code>
(еще известен как power!)
===Bignum#**=== ----
<tt>big ** exponent #=> numeric</tt>
Строка 42 ⟶ 43 :
123456789 ** -2 #=> 6.5610001194102e-17</code>
(еще известен как power!)
===Bignum#+=== ----
<tt>big + other => Numeric</tt>
Строка 176 ⟶ 178 :
Returns a Rational number if the result is in fact rational (i.e. <tt>other</tt> < 0).
(еще известен как **)
===Bignum#size=== ----
<tt>big.size -> integer</tt>
|