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_new.yml
blob
6fcde3125b7d95e129e41bd01bd20346596251b1
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_new: c = Complex(a, b)
7
loop_count: 1000000