blob: d0150c5e5b2d06af4c07b2220df5ecb6d8245f67 (
plain)
1
2
3
4
5
6
7
|
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_add: c = a + b
loop_count: 1000000
|