summaryrefslogtreecommitdiff
path: root/benchmark/numeric_methods.yml
blob: 138490293538b478ede24458bd90b7d116a03d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
prelude: |
  int = 42
  flo = 4.2
benchmark:
  real?: |
    int.real?
  integer?: |
    flo.integer?
  finite?: |
    int.finite?
  infinite?: |
    int.infinite?
  integer_real: |
    int.real
  float_real: |
    flo.real
  integr_imag: |
    int.imag
  float_imag: |
    flo.imag
  integer_conj: |
    int.conj
  float_conj: |
    flo.conj
  integer_numerator: |
    int.numerator
  integer_denominator: |
    int.denominator
loop_count: 20000000