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

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Mon, 15 Jan 2018 14:54:59 +0000
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
Received on Mon Jan 15 2018 - 13:55:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC