On 11/4/2015 7:35 AM, Gary Willoughby wrote:
On Wednesday, 4 November 2015 at 12:30:24 UTC, Laeeth Isharc wrote:
Point came up in a discussion in the learn group that fixedpoint arithmetic
would be quite useful, especially in the financial domain. There does exist a
github library for this - it looked reasonably thought-through, but I haven't
used it as when I tried it didn't compile with the version of dmd I was using.
I agree a fixed point decimal type would be epic in D. There is one bit-rotting
on the formal review queue as we speak:
http://wiki.dlang.org/Review_Queue
And there's the sad tale of halffloat:
https://www.digitalmars.com/sargon/halffloat.html