summaryrefslogtreecommitdiff
path: root/benchmark/complex_float_sub.yml
blob: 3fafe7cdbe3253d72f2a8f1dd2609089b8f4138e (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_sub: c = a - b
loop_count: 1000000