[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: floating point arithmetic
From: |
cLIeNUX user |
Subject: |
Re: floating point arithmetic |
Date: |
Fri, 16 Feb 2001 06:18:47 -0000 |
humbubba@smart.net
>> 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.
Floats is one of the points at which it's time to look into awk or
something.
Rick Hohensee
>
>--
>``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/