るりまサーチ

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

別のキーワード

  1. kernel require
  2. getoptlong require_order
  3. rubygems/custom_require require
  4. irb/ext/use-loader irb_require
  5. rdoc/require require

ライブラリ

クラス

検索結果

OpenSSL::BN#mod_sub(other, m) -> OpenSSL::BN (24232.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 計算時エラー...