I’m looking for libraries for storing and working with currency.
I’ve found a few so far but would be interested in seeing if there are any that I’ve overlooked.
I’ll be doing calculations on these values (variance, square root, standard deviation) so it would be ideal if they had instances for working with standard math operators (+, -, ^, sqrt, log, etc).
It has support for IEEE 754-2008 but is marked as experimental.
Works with arithmetic operators but missing instance for Fractional so I can’t use it with sqrt and friends without implementing the functionality myself it seems. Despite this, it looks promising.
Has a tendency to explode in space and performance can be poor.
Looks good, but from the documentation: Although
Scientific is an instance of
Fractional , the methods are only partially defined! Specifically
/ will diverge (i.e. loop and consume all space) when their outputs have an infinite decimal expansion