great! now I can throw all the garbage I want to my program :-) Thanks a lot.
2010/3/26 Federico G. Benavento <benave...@gmail.com>: > garbage in, garbage out > > lotte% echo 1.75e308+1.75e308 | hoc > hoc 730809: suicide: sys: fp: numeric overflow fppc=0x3004 > status=0xb988 pc=0x3a75 > lotte% > > if you want to keep feeding garbage to your program disable the exceptions > > see getfcr(2) > > or http://plan9.bell-labs.com/magic/man2html/2/getfcr > > setfcr(getfcr()&~(FPINVAL)); > > feel free to turn division by 0 trap too > -- Hugo