From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5093 invoked from network); 30 Nov 1998 11:34:07 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Nov 1998 11:34:07 -0000 Received: from rzcomm1.rz.tu-bs.de (root@rzcomm1.rz.tu-bs.de [134.169.9.107]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA26358 for ; Mon, 30 Nov 1998 06:32:03 -0500 From: y0000218@rzsrv2.rz.tu-bs.de Received: from ppp393.ts.rz.tu-bs.de (ppp393.ts.rz.tu-bs.de [134.169.243.93]) by rzcomm1.rz.tu-bs.de (8.8.6/8.8.6) with ESMTP id MAA11117 for ; Mon, 30 Nov 1998 12:31:58 +0100 (MET) Received: from alpha.utopia (ppp393.ts.rz.tu-bs.de [192.168.0.1]) by ppp393.ts.rz.tu-bs.de (8.9.0/8.8.7) with ESMTP id KAA28704 for ; Mon, 30 Nov 1998 10:24:05 GMT Date: Mon, 30 Nov 1998 10:24:05 GMT Message-Id: <199811301024.KAA28704@ppp393.ts.rz.tu-bs.de> Subject: Re: Floating point problems Joachim Wesner 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 " 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