Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: hjstein@bfr.co.il (Harvey J. Stein)
To: axp-list@redhat.com
Cc: hjstein@bfr.co.il
Subject: Re: Float Pt Precision
Date: 30 Jul 1999 16:19:41 +0300	[thread overview]
Message-ID: <m2vhb2e0lt.fsf@blinky.bfr.co.il> (raw)
In-Reply-To: Richard Henderson's message of "Thu, 29 Jul 1999 16:42:41 -0700"

Richard Henderson <rth@twiddle.net> 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


  reply	other threads:[~1999-07-30 13:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-29 13:24 Float Pt Precision Uncle George
1999-07-29 14:03 ` Alvin Starr
1999-07-29 14:32   ` Phil Carmody
1999-07-29 15:57     ` Michael J. Donahue
1999-07-29 18:51       ` Harvey J. Stein
1999-07-29 19:47         ` Wes Bauske
1999-07-29 21:05           ` Harvey J. Stein
1999-07-29 21:07         ` Michael J. Donahue
1999-07-29 14:17 ` Phil Carmody
1999-07-29 14:24 ` Christopher C Chimelis
1999-07-29 16:39 ` Wes Bauske
1999-07-29 23:42 ` Richard Henderson
1999-07-30 13:19   ` Harvey J. Stein [this message]
1999-07-30 14:38     ` Uncle George
1999-07-30 14:55   ` Uncle George
1999-07-30 11:18 ` Phil Carmody
1999-07-30 14:52   ` Uncle George
1999-07-30 15:31     ` Phil Carmody
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