In the last episode (Mar 03), Wayne Sierke said:
> It seems I've run into the 32-bit signed number wall in awk
> (5.2-RELEASE).
> 
> My totals are maxing out at 2147483648.
> 
> Would anyone happen to know whether that's really the case (that awk is
> only implemented with 32-bit number capability - unfortunately I don't
> have any other awks nearby to verify nor can I find any reference info
> that indicates) and/or can suggest a way around it?

Seems to works fine on -current:

$ jot 8 30 | awk '{ print 2^$1 }'
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to