On Monday, February 26, 2018 17:49:21 H. S. Teoh via Digitalmars-d-learn wrote: > On Tue, Feb 27, 2018 at 12:26:56AM +0000, psychoticRabbit via Digitalmars- d-learn wrote: > > On Tuesday, 27 February 2018 at 00:04:59 UTC, H. S. Teoh wrote: > > > A 64-bit double can only hold about 14-15 decimal digits of > > > precision. Anything past that, and there's a chance your > > > "different" numbers are represented by exactly the same bits and the > > > computer can't tell the difference. > > > > > > T > > > > I really miss not having a (C# like) decimal type. > > Didn't somebody write a decimal library type recently? Try searching on > code.dlang.org, you can probably find it there.
http://code.dlang.org/packages/decimal It got a lot of positive feedback. https://forum.dlang.org/post/mutegviphsjwqzqfo...@forum.dlang.org - Jonathan M Davis