Re:OCaml on Baremetal Shakti RISC-V Processor
by andrepd on Sunday March 31, 2019 @12:34AM
(#19533893)
You can write floating point operators in several different ways. You can write with the normal floating point operators
or, since `Float.(+) = (+.)`, `Float.() = (.)`, etc,
or simply
[ Parent
| on HN ]
Re:OCaml on Baremetal Shakti RISC-V Processor
by xyproto on Monday April 01, 2019 @03:09AM
(#19541170)
That is pretty neat. Does it mean that one could do something similar for vectors and quaternions?
let open Quaternion in
x * y + x