1件ヒット
[1-1件を表示]
(0.113秒)
ライブラリ
- openssl (1)
クラス
-
OpenSSL
:: BN (1)
検索結果
-
OpenSSL
:: BN # mod _ sub(other , m) -> OpenSSL :: BN (87772.0) -
(self - other) % m を返します。
(self - other) % m を返します。
//emlist[][ruby]{
require 'openssl'
OpenSSL::BN.new("27").mod_sub(OpenSSL::BN.new("3"), OpenSSL::BN.new("5")) # => 4
//}
@param other 引く数
@param m 剰余を取る数
@raise OpenSSL::BNError 計算時エラー