On Monday, 2 November 2015 at 17:09:41 UTC, Laeeth Isharc wrote:
On Saturday, 31 October 2015 at 16:06:47 UTC, Russel Winder
wrote:
On Sat, 2015-10-31 at 15:41 +0000, tcak via
Digitalmars-d-learn wrote:
[...]
In that std.bigint.BigInt provides the accuracy, yes it does
suffice. But it is slow. As far as I am aware only IBM Big
Iron (aka mainframes, aka z-Series) has hardware decimal
floating point these days. (Even though 1970s and 1980s
microprocessors had the feature.)
It would be nice to have fixed point numbers in Phobos,
although it's not much work to implement, and there is a
library solution already (which is maintained, but sometimes
for a while breaks with newer versions of dmd).
I am Big Proponent of decimal arithmetic. It should be a breeze
for a some of the smart folks using D. :):)