るりまサーチ

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

別のキーワード

  1. bigdecimal/util to_d
  2. bigdecimal round
  3. bigdecimal div
  4. bigdecimal to_s
  5. bigdecimal ceil

ライブラリ

クラス

検索結果

BigDecimal#abs -> BigDecimal (35232.0)

self の絶対値を返します。

...self の絶対値を返します。

//emlist[][ruby]{
require 'bigdecimal'
BigDecimal
('5').abs.to_i # => 5
BigDecimal
('-3').abs.to_i # => 3
//}...

NEWS for Ruby 3.0.0 (18.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...
...and their subclasses.
* Method inlining support for some C methods
* `Kernel`: `#class`, `#frozen?`
* `Integer`: `#-@`, `#~`, `#abs`, `#bit_length`, `#even?`, `#integer?`, `#magnitude`, `#odd?`, `#ord`, `#to_i`, `#to_int`, `#zero?`
* `Struct`: reader methods for 10th or...
...e/stdlib classes.
* `rbs` gem is bundled to load and process RBS files.

=== TypeProf

* TypeProf is a type analysis tool for Ruby code based on abstract interpretation.
* It reads non-annotated Ruby code, tries inferring its type signature, and prints the analysis result in RBS format....