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 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 :)

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw%lug-owl.de@localhost              
+49-172-7608481
Signature of: "Debugging is twice as hard as writing the code in the first 
place.
the second  :  Therefore, if you write the code as cleverly as possible, you 
are,
               by definition, not smart enough to debug it." - Brian W. 
Kernighan

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index | Old Index