From: y0000218@rzsrv2.rz.tu-bs.de
Subject: Re: Floating point problems
Date: Mon, 30 Nov 1998 10:24:05 GMT [thread overview]
Message-ID: <199811301024.KAA28704@ppp393.ts.rz.tu-bs.de> (raw)
Joachim Wesner <joachim.wesner@frankfurt.netsurf.de> wrote:
: denormalized handling maybe somewhat complicated, BUT a hardware option
: that silently replaces/treats any denormal by/like zero would sure have
: costed very few transistors and would have helped critical code alot, if
: you really need the full precision, you could still activate the
: trapping and use -mieee.
: Joachim
Hmm, so whats the "right" way to do this if I dont need the
full precision? (RayTracing doesnt really, whats not visible isnt important).
Currently I do check for "smaller than <some constant>" in critical places
and set things to 0. Nasty. But -mieee seems worse performance-wise.
The worst thing is that I _think_ I check in critical places
and things _usually_ work but i can guarantee it.
Olaf
--
"The number of Unix installations Olaf Schnapauff,
has grown to 10, with more expected." O.Schnapauff@tu-bs.de
- The Unix Programmer's Manual,1972 http://www.tu-bs.de/~c0033014/
See Web page and keyservers for pgp public key
next reply other threads:[~1998-11-30 11:34 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-30 10:24 y0000218 [this message]
1998-11-30 13:30 ` Floating point problems Alvin Starr
1998-12-03 0:48 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1998-11-30 8:16 y0000218
1998-11-30 9:08 ` Carles Perello
1998-11-30 9:53 ` Joachim Wesner
1998-11-30 14:22 ` Alvin Starr
1998-11-30 13:27 ` krebs
1998-11-30 17:06 ` Joachim Wesner
1998-12-03 0:48 ` Richard Henderson
1998-12-03 16:59 ` Greg Lindahl
1998-12-03 19:35 ` Joachim Wesner
1998-12-03 20:04 ` Richard Henderson
1998-12-03 20:16 ` Greg Lindahl
1998-12-03 23:44 ` Joachim Wesner
1998-12-01 8:42 ` Jochen Kuepper
1998-11-28 13:15 Heinz Ulrich Stille
1998-11-28 14:24 ` Johannes G.D. Hausmann
1998-11-28 13:58 ` Heinz Ulrich Stille
1998-11-28 14:48 ` Stefan Schroepfer
1998-11-28 14:57 ` Heinz Ulrich Stille
1998-11-29 13:15 ` Johannes G.D. Hausmann
1998-11-29 13:02 ` Heinz Ulrich Stille
1998-11-29 18:01 ` B. James Phillippe
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