From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,84278579ba085c08,start X-Google-Attributes: gid111c93,public From: conrad@vanir.srl.caltech.edu (Conrad Steenberg) Subject: FP exceptions on redhat 5.1 Date: 1998/09/11 Message-ID: #1/1 X-Deja-AN: 390168779 Organization: California Institute of Technology, Pasadena Newsgroups: comp.os.linux.alpha Summary: How to disable FP exceptions on RH 5.1? Hi all I have this really annoying problem with egcs-1.02 that came with Redhat 5.1: A floating point exception would be raised whenever an underflow occurs. My question is this: is there an easy way to disable FP exceptions? I can live with having a few NaN's generated now and again, but I don't want to litter the code with if's to test for underflows... Hope somebody out there can help! Conrad -- *-----------------------------------------* | Conrad Steenberg | | Caltech, Mail Code 220-47 | | Pasadena, CA, 91125 | | e-mail: conrad@srl.caltech.edu | | Tel: (626) 395-2965 Fax: (626) 449-8676 | *-----------------------------------------*