Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: arithmetic anomaly



On Fri, Mar 26, 2021 at 1:38 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
On 2021-03-25 5:16 p.m., Oliver Kiddle wrote:
> but floats are what we have.
But why do we let them spew out garbage?

Maybe this will help: https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html

Understanding how floating point numbers work is very useful. It's virtually mandatory when writing numerical computation code. None of this is specific to zsh.

Roman. 


Messages sorted by: Reverse Date, Date, Thread, Author