るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.162秒)
トップページ > クエリ:l[x] > クエリ:>[x] > クエリ:r[x] > クエリ:SET[x] > クエリ:clear_bit![x]

別のキーワード

  1. _builtin to_r
  2. set new
  3. _builtin set_encoding
  4. stringio set_encoding
  5. tracer set_get_line_procs

ライブラリ

クラス

検索結果

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

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

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

//emlist[][ruby]{
r
equire 'openssl'

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

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