26件ヒット
[1-26件を表示]
(0.018秒)
種類
- インスタンスメソッド (22)
- 文書 (4)
ライブラリ
- bigdecimal (22)
クラス
- BigDecimal (22)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - nonzero? (11)
検索結果
-
BigDecimal
# zero? -> bool (39131.0) -
self が 0 のときに true を返します。それ以外のときに false を返します。
...self が 0 のときに true を返します。それ以外のときに false を返します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0").zero? # => true
BigDecimal("1").zero? # => false
//}... -
BigDecimal
# nonzero? -> self | nil (27118.0) -
self が 0 以外のときに self を返します。0 のときに nil を返します。
...self が 0 以外のときに self を返します。0 のときに nil を返します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("0").nonzero? # => nil
BigDecimal("1").nonzero? # => 0.1e1
//}... -
NEWS for Ruby 3
. 0 . 0 (24.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...3768
* Warning
* Warning#warn now supports a category keyword argument. 17122
== Stdlib updates
Outstanding ones only.
* BigDecimal
* Update to BigDecimal 3.0.0
* This version is Ractor compatible.
* Bundler
* Update to Bundler 2.2.3
* CGI
* Update to 0.2.0
* This......osed pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer defined.
* Integer#zero? overrides Numeric#zero? for optimization. 16961
* Enumerable#grep and Enumerable#grep_v when passed a Regexp and no block no longer modify Regexp.last_matc......s`, `#frozen?`
* `Integer`: `#-@`, `#~`, `#abs`, `#bit_length`, `#even?`, `#integer?`, `#magnitude`, `#odd?`, `#ord`, `#to_i`, `#to_int`, `#zero?`
* `Struct`: reader methods for 10th or later members
* Constant references are inlined.
* Always generate appropriate code for `=...