1件ヒット
[1-1件を表示]
(0.125秒)
ライブラリ
- openssl (1)
クラス
-
OpenSSL
:: BN (1)
検索結果
-
OpenSSL
:: BN # <<(other) -> OpenSSL :: BN (63748.0) -
自身を other ビット左シフトした値を返します。
自身を other ビット左シフトした値を返します。
//emlist[][ruby]{
bn = 1.to_bn
pp bn << 1 # => #<OpenSSL::BN 2>
pp bn # => #<OpenSSL::BN 1>
//}
@param other シフトするビット数
@raise OpenSSL::BNError 計算時エラー
@see OpenSSL::BN#lshift!