るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.145秒)
トップページ > バージョン:2.6.0[x] > クエリ:open[x] > クエリ:>[x] > クエリ:e[x] > ライブラリ:openssl[x] > クエリ:clear_bit![x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. open3 capture2e
  4. matrix det_e
  5. matrix rank_e

クラス

検索結果

OpenSSL::BN#clear_bit!(n) -> self (81907.0)

自身の n ビット目を0にします。

...自身の n ビット目を0にします。

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

a = OpenSSL::BN.new("129")
a.clear_bit!(0)
a # => 128
//}

@param n 0にするビットの位置
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::set_bit!...