Always false float comparisons

Joseph Rushton Wakeling via Digitalmars-d digitalmars-d at puremagic.com
Wed May 18 16:17:05 PDT 2016


On Wednesday, 18 May 2016 at 23:09:28 UTC, Walter Bright wrote:
> Now try the square root of 2. Or pi, e, etc. The irrational 
> numbers are, by definition, not representable as a ratio.

Continued fraction? :-)


More information about the Digitalmars-d mailing list