The best way to compare floating point values.
Jack Applegame via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Feb 14 02:32:37 PST 2015
On Saturday, 14 February 2015 at 10:23:48 UTC, Gary Willoughby
wrote:
> I wrote a similar function here:
>
> https://github.com/nomad-software/dunit/blob/master/source/dunit/toolkit.d#L42
>
> or using an epsilon value:
>
> https://github.com/nomad-software/dunit/blob/master/source/dunit/toolkit.d#L134
>
> I don't know if they are useful to you?
Very interesting. Thanks.
More information about the Digitalmars-d-learn
mailing list