bug-bash
[Top][All Lists]
Advanced

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

Re: About fltexpr


From: Andreas Schwab
Subject: Re: About fltexpr
Date: Mon, 22 Sep 2025 09:30:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sep 22 2025, Duncan Roe via Bug reports for the GNU Bourne Again SHell wrote:

> $ printf '%g\n' $(fltexpr -p '0.1 + 0.2')
> 0.3

That is wrong for a value that needs more than 6 digits of precision.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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