inconsistent for() and while() behavior when using floating point

David Chisnall theraven at FreeBSD.org
Mon Jan 15 14:55:10 UTC 2018


On 15 Jan 2018, at 14:49, Hans Petter Selasky <hps at selasky.org> wrote:
> 
> The "seq" utility should use two 64-bit integers to represent the 10-base decimal number instead of float/double. And then you need to step this pair of integers.

As the saying goes:

> Sometimes, people think 'I have a problem and I will solve it with floating point values' and then they have 1.99999999 problems.


David



More information about the freebsd-current mailing list