From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,973b51971bd6e12f,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,973b51971bd6e12f,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1989-06-22 11:33:27 PST Xref: utzoo comp.unix.ultrix:1102 comp.sys.dec:1436 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!mit-eddie!uw-beaver!cornell!rochester!pt.cs.cmu.edu!edrc.cmu.edu!te07 From: te07@edrc.cmu.edu (Thomas Epperly) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Directed floating point rounding? Keywords: DS3100 pmax number rounding Message-ID: <5285@pt.cs.cmu.edu> Date: 22 Jun 89 18:33:27 GMT Reply-To: te07@edrc.cmu.edu (Thomas Epperly) Distribution: usa Organization: Carnegie-Mellon University, CS/RI How do you change the IEEE floating point flags on the DECstation 3100 in C? I want to change the rounding mode for a numerical application. I found some clues in /usr/include/fpu.h and some routine definitions, but they don't have any explanations. I think that knowing the parameters to get_fpc_csr() and set_fpc_csr would be all that I need. Please send any information or suggestions. Tom Epperly te07@cs.cmu.edu epperly@osnome.che.wisc.edu --