26件ヒット
[1-26件を表示]
(0.198秒)
種類
- インスタンスメソッド (11)
- クラス (11)
- 文書 (4)
ライブラリ
- ビルトイン (11)
- bigdecimal (11)
クラス
- BigDecimal (11)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - Numeric (11)
検索結果
-
BigDecimal
# abs -> BigDecimal (18125.0) -
self の絶対値を返します。
...self の絶対値を返します。
//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('5').abs.to_i # => 5
BigDecimal('-3').abs.to_i # => 3
//}... -
Numeric (18.0)
-
数値を表す抽象クラスです。Integer や Float などの数値クラス は Numeric のサブクラスとして実装されています。
...------------------------------------------------------------------------------------------
abs | o - o o o - o
abs2 | o - - - - - o......to_f | - - o o o o o
to_i | - o - - o o o
to_int | o o - - o - -......tional Complex
--------------------------------------------------------------------------------
abs | o o o o o
abs2 | o - - - o
angle | o -......tional Complex
--------------------------------------------------------------------------------
to_i | - o o o o
to_int | o o o - -
to_r | - o... -
NEWS for Ruby 3
. 0 . 0 (12.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...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 later members
* Constant references are......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....