From: Emile van bergen <emile@n293.ede.telekabel.euronet.nl>
Subject: Re: how to compile with "-fsoft-float"
Date: 1999/09/08 [thread overview]
Message-ID: <Pine.LNX.4.10.9909082315330.13895-100000@emile.evbergen.xs4all.nl> (raw)
In-Reply-To: 7qmppe$f9$22@newnews.ilk.de
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
next prev parent reply other threads:[~1999-09-08 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-01 4:00 how to compile with "-fsoft-float" siemel naran
1999-09-02 4:00 ` Alex Rhomberg
1999-09-02 4:00 ` siemel naran
1999-09-02 4:00 ` siemel naran
1999-09-08 4:00 ` Emile van bergen [this message]
1999-09-09 4:00 ` Jeff Sturm
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox