[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / complex_float_power.yml
blobc40a31ab55a246dc87eb9ab6286f6be7e37147b7
1 prelude: |
2   max, min = 1000.0, -1000.0
3   a = Complex(rand(max)+min, rand(max)+min)
4   b = Complex(rand(max)+min, rand(max)+min)
5 benchmark:
6   complex_float_power: c = a ** b
7 loop_count: 1000000