From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17683 invoked from network); 30 Jul 1999 13:19:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Jul 1999 13:19:46 -0000 Received: from blinky.bfr.co.il (hjstein@morannon.bfr.co.il [192.116.142.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA16398 for ; Fri, 30 Jul 1999 09:19:45 -0400 Received: (from hjstein@localhost) by blinky.bfr.co.il (8.8.5/8.6.9) id QAA28130; Fri, 30 Jul 1999 16:19:42 +0300 To: axp-list@redhat.com Subject: Re: Float Pt Precision References: <37A055F8.F9CEC671@voicenet.com> <19990729164241.B21308@twiddle.net> CC: hjstein@bfr.co.il From: hjstein@bfr.co.il (Harvey J. Stein) Date: 30 Jul 1999 16:19:41 +0300 In-Reply-To: Richard Henderson's message of "Thu, 29 Jul 1999 16:42:41 -0700" Message-ID: X-Mailer: Gnus v5.6.4/Emacs 19.34 Richard Henderson writes: > On Thu, Jul 29, 1999 at 09:24:08AM -0400, Uncle George wrote: > > BTW as a side issue, there doesn't seem to be any way to get the > > compiler to do different 'rounding' techniques. Ie chopped, +infinity, > > -Infinity. > > -mfp-rounding-mode={n,m,c,d} > > n == round to nearest > m == round to minus infinity > c == round to zero > d == dynamic rounding (mode comes from fpcr) But doesn't this set the rounding mode at program start? If so, it means that it can be dangerous because libm might require a particular rounding mode - switching it could cause libm inaccuracy. -- Harvey J. Stein Bloomberg LP hjstein@bfr.co.il