bug-bash
[Top][All Lists]
Advanced

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

Re: floating point arithmetic


From: Chet Ramey
Subject: Re: floating point arithmetic
Date: Tue, 13 Feb 2001 07:46:55 -0500

> The bash manual should state just how far one can get using floating
> point arithmetic within the bash shell.

Why?  You cannot use floating point at all.

The man page says, in the ARITHMETIC EVALUATION section:

       Evaluation  is done in long
       integers with no check for overflow, though division by  0
       is  trapped  and  flagged  as an error

The info manual says exactly the same thing.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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