[geeks] expr and math

Jonathan C. Patschke jp at celestrion.net
Tue Sep 21 19:21:18 CDT 2004


On Wed, 22 Sep 2004, Scott Howard wrote:

> ksh% print $((90 * 10000000000000000000000))
> 1803387784686206976

This is fixed in ksh93.

[jp at banshee:/home/jp]$ print $((90 * 10000000000000000000000))
9e+23

-- 
Jonathan Patschke )
Elgin, TX        (  "Ma'am, I can do anything.  I own a game store."
USA               )             --Gord ( http://www.actsofgord.com )



More information about the geeks mailing list