by rixed · 7y ago · 0 comments
Further than that, there are no more programs written in it for the same reason than there are no more programs written in any interesting languages, I guess; ie largely accidental.
What does this mean? I was under the impression the OCaml compiler did a decent number of floating point specific optimizations, like unboxed arrays and what not.
It never bothered me in Caml Light, let alone when Objective Caml was introduced.
x *. y +. z
or, since `Float.(+) = (+.)`, `Float.() = (.)`, etc, let open Float in
x * y + z
or simply Float.(x * y + z) let open Quaternion in
x * y + x