Does GHC do stuff like converting (2*) into (shift 1) or converting x + x into 2*x?

If I do x * sin 12, is GHC likely to compute sin 12 at compile-time?

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to