るりまサーチ

最速Rubyリファレンスマニュアル検索!
19件ヒット [1-19件を表示] (0.065秒)
トップページ > クエリ:t[x] > ライブラリ:mathn[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

クラス

モジュール

キーワード

検索結果

Math.#rsqrt(a) -> Numeric (6102.0)

@todo

...@todo

複素数を考慮しないので、負の数や Complex をあたえないでください。

a が Float の時は、Float を返します。
それ以外の時、平方根が有理数であれば、Rational または Integer を返します。
無理数であれば、Float を返します...

Math.#sqrt(a) -> Numeric (6102.0)

@todo

...@todo

a の正の平方根を返します。
a が Complex の時は、Complex を返します。
a が負の時は、a を正にして、その平方根を Complex の虚数部に入れて返します。
それ以外は、Math.rsqrt の結果を返します。...

Integer#/(other) -> Numeric (3102.0)

Fixnum#quo と同じ働きをします(有理数または整数を返します)。

...Fixnum#quo と同じ働きをします(有理数または整数を返します)。

例:

10 / 3 # => 3

require 'mathn'
10 / 3 # => (10/3)...

Rational#**(rhs) -> Numeric (3002.0)

@todo

...@todo

self のべき乗を返します。 Rational になるようであれば Rational で返します。...

Bignum#/(other) (102.0)

@todo

...@todo

Bignum#quo と同じ働きをします(有理数または整数を返します)。...

絞り込み条件を変える

Fixnum#/(other) (102.0)

@todo

...@todo

Fixnum#quo と同じ働きをします(有理数または整数を返します)。...