Out of curiosity, I tried the following one (on julia 0.4-rc1)

  f(x) = ( c = cos(x); c^3 )
  f_float(x) = ( c = cos(x); c^3.0 )

then I get
  0.006489 seconds
  0.013220 seconds

but with the original code, I get
  0.076714 seconds
  0.013280 seconds

(both without @fastmath)

Reply via email to