1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/complex_float_div.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
190 B
YAML
Raw Normal View History

prelude: |
max, min = 1000.0, -1000.0
a = Complex(rand(max)+min, rand(max)+min)
b = Complex(rand(max)+min, rand(max)+min)
benchmark:
complex_float_div: c = a / b
loop_count: 1000000