From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2e63a9502345cf7d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-06 16:11:24 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!howland.reston.ans.net!pipex!uunet!bcstec!plato!flash!ian From: ian@flash.ds.boeing.com (Ian Searle) Subject: Need help with FPE control Message-ID: Sender: nntp@plato.ds.boeing.com Organization: Boeing Defense & Space Group X-Newsreader: TIN [version 1.2 PL2] Date: Mon, 7 Nov 1994 00:11:24 GMT I have been trying to set up a C program on a DEC-Alpha running OSF so that the following will behave properly (ala IEEE-754) 1/0 + 1 => Inf I can get the Alpha to ignore the FPE, or use my own signal handler, but I cannot get it to work properly with Infs and NaNs. I have been using the compiler flag -resumption_safe, and ieee_fp_get_control() and ieee_fp_set_control() all to no avail. Can anybody offer some help? Thanks in advance -- Ian Searle ian@flash.ds.boeing.com