repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
benchmark
/
complex_float_power.yml
blob
c40a31ab55a246dc87eb9ab6286f6be7e37147b7
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