bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GAWK adding big numbers wrong


From: Paul Eggert
Subject: Re: GAWK adding big numbers wrong
Date: Sun, 12 May 2002 23:03:17 -0700 (PDT)

> From: Aharon Robbins <address@hidden>
> Date: Mon, 13 May 2002 01:29:38 +0300
> 
> You have hit a limitation in hardware floating point. Gawk uses
> double precision floating point numbers.  I suggest that if you need
> infinite precision, you use dc or bc.

Other possibilities include Scheme, (recent versions of) Python,
Ruby, and other high-level languages like that.

It would be nice if Gawk implemented infinite-precision arithmetic,
though admittedly this would require some surgery.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]