るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. openssl n
  3. openssl n=
  4. pop n_mails
  5. pop3 n_mails

クラス

検索結果

OpenSSL::BN#mod_mul(other, m) -> OpenSSL::BN (97024.0)

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

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

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

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

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

OpenSSL::BN#*(other) -> OpenSSL::BN (42667.0)

自身と other の積を返します。

...自身と other の積を返します。

@param other かける数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#mod_mul...