11件ヒット
[1-11件を表示]
(0.103秒)
ライブラリ
- openssl (11)
クラス
-
OpenSSL
:: BN (11)
検索結果
-
OpenSSL
:: BN # mod _ add(other , m) -> OpenSSL :: BN (18313.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 計算時エラー...