6 ms·
Interesting! I wonder what drove their decision to use rational number representation. Is it possible to turn this feature off and use floating point instead (f
by lucianp 12y ago
Interesting! I wonder what drove their decision to use rational number representation.
Is it possible to turn this feature off and use floating point instead (for performance reasons, let's say)?
- wwweston 12y agoIIRC, there's several numeric types that conform to the larger `Numeric` type family: `Rat`, `Int`, and `Num` (which is basically a float). `Rat` is what falls out of the expressions the OP was working with, specifying you want `Num` is possible.