Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: VAX FP: awk: floating point exception: Floating point overflow
On 29 May 2012 21:11, Jan-Benedict Glaw <jbglaw%lug-owl.de@localhost> wrote:
> On Tue, 2012-05-29 22:06:01 +0200, Tom Ivar Helbekkmo
> <tih%hamartun.priv.no@localhost> wrote:
>> David Brownlee <abs%absd.org@localhost> writes:
>>
>> > Today's slice of VAX fun comes courtesy of this little fragment
>> >
>> > echo 12345678911234567892123456789312345678941234567895123456 \
>> > | awk '{split($0,a);print a[1]}'
>>
>> I don't have a VAX with NetBSD handy at the moment, but from memory,
>> this should be fun, too:
>>
>> echo 'nanotubes' | awk '{print $1}'
> ~~~
>
> Sure: NaN-handling is a bit different :)
Looks like that one's been fixed :)
wopr# uname -srm ; awk -version ; echo 'nanotubes' | awk '{print $1}'
NetBSD 6.99.7 vax
awk version 20100523
nanotubes
Home |
Main Index |
Thread Index |
Old Index