[geeks] expr and math

Brian Dunbar brian.dunbar at plexus.com
Tue Sep 21 08:49:04 CDT 2004


On Sep 21, 2004, at 6:01 AM, Scott Howard wrote:

> On Tue, Sep 21, 2004 at 04:00:48AM -0500, Brian Dunbar wrote:
>> briandunbar_natasha_~:expr 90 \* 100000000
>> 410065408
>
> expr generally works on "integers" as defined by the system. ie, once 
> you
> hit MAX_INT weird stuff will happen.
>
> If you want unlimited precision math, use bc

and of course that works fine, and I learned something.  Thanks!

~brian



More information about the geeks mailing list