るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.230秒)

別のキーワード

  1. object yield_self
  2. _builtin yield_self
  3. tracepoint self
  4. _builtin self
  5. codeobject document_self

ライブラリ

クラス

検索結果

OpenSSL::BN#mod_add(other, m) -> OpenSSL::BN (27324.0)

(self + other) % m を返します。

...(self + other) % m を返します。

//emlist[][ruby]{
require 'openssl'

OpenSSL::BN.new("7").mod_add(OpenSSL::BN.new("3"), OpenSSL::BN.new("6")) # => 4
//}

@param other 和を取る数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー...