mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
14 lines
174 B
YAML
14 lines
174 B
YAML
prelude: |
|
|
flo = 4.2
|
|
benchmark:
|
|
to_f: |
|
|
flo.to_f
|
|
abs: |
|
|
flo.abs
|
|
magnitude: |
|
|
flo.magnitude
|
|
-@: |
|
|
-flo
|
|
zero?: |
|
|
flo.zero?
|
|
loop_count: 20000000
|