From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,2d60095dfc9873e5 X-Google-Attributes: gid111c93,public From: Emile van bergen Subject: Re: how to compile with "-fsoft-float" Date: 1999/09/08 Message-ID: #1/1 X-Deja-AN: 522702273 References: <37CE2609.1E3D3181@ife.ee.ethz.ch> <7qmppe$f9$22@newnews.ilk.de> X-Sender: emile@emile.evbergen.xs4all.nl Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.telekabel.nl 936829421 16346 194.134.152.48 (8 Sep 1999 22:23:41 GMT) Organization: TeleKabel Mime-Version: 1.0 NNTP-Posting-Date: 8 Sep 1999 22:23:41 GMT Newsgroups: comp.os.linux.alpha On 2 Sep 1999, siemel naran wrote: > On Thu, 02 Sep 1999 09:23:53 +0200, Alex Rhomberg > >siemel naran wrote: > > >> I'd like to turn floating point exceptions off. > >> For example, +1.0/zero() should give +infinity. > > >Use the -miee flag: > > Thanks, I tried this, and it works. > > Can you please tell me what this flag means? Does it mean to turn ieee > math on? IOW, does ieee specify that there be no floating point > exceptions -- eg, 1.0/zero() is infinity, -1.0/zero() is -infinity, > 1.0*nan() is nan, nan()==nan() is false, small()*small() is zero? > > Also, why is this flag not documented in the gcc man page? Are there > any other flags that might be of relevance to me? It's not exactly a flag. -mfoo tells the linker to link against libfoo.a (statically) / libfoo.so (dynamically). So you probably have a working libieee somewhere on your system, that contained the missing functions from your previous post. How its prog. interface works, I don't know. Was never too much into math anyway; my programs contain mostly just the old integer arithmetic... ;-). -- M.vr.gr. / Best regards, Emile van Bergen (e-mail address: emile@n293.ede.telekabel.euronet.nl) This e-mail message is 100% electronically degradeable and produced on a GNU/Linux system. ~ ~ :wq