Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7771

Re: higher precision doubles

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: higher precision doubles
Date Sat, 10 Sep 2011 11:22:21 -0700
Organization Canadian Mind Products
Lines 27
Message-ID <chan6792i2186c441143l77jflgttuph0k@4ax.com> (permalink)
References <j1hqc1$1ch$1@news.albasani.net> <cOqdnfXfM99lhaDTnZ2dnUVZ_vednZ2d@earthlink.com> <j1qdrt$30a$1@speranza.aioe.org> <soqdnRy-6cN1idzTnZ2dnUVZ_tidnZ2d@earthlink.com> <j1v71c$kv4$1@speranza.aioe.org>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7771

Show key headers only | View raw


On Wed, 10 Aug 2011 20:16:49 -0400,
supercalifragilisticexpialadiamaticonormalizeringelimatisticantations
<supercalifragilisticexpialadiamaticonormalizeringelimatisticantations@averylongandannoyingdomainname.com>
wrote, quoted or indirectly quoted someone who said :

>
>Remind me: why was it considered desirable for (non-strict) arithmetic 
>not to use however much precision was available to it? (Anyone needing 
>strict adherence to IEEE 32-bit or 64-bit FP arithmetic would be using 
>strictfp anyway, after all.)

The reason for strictfp was to get the exact same results on every
machine and every optimising compiler. Extra precision only works when
values are kept on chip.  You loose as soon as anything get stored in
RAM.  A machine with more FP registers does not need to store as
often.

I think if extra precision were dropped on non-strict it would have
been an error.


-- 
Roedy Green Canadian Mind Products
http://mindprod.com
The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, 
the search for a superior moral justification for selfishness.
~ John Kenneth Galbraith (born: 1908-10-15 died: 2006-04-29 at age: 97) 

Back to comp.lang.java.programmer | Previous | Next | Find similar


Thread

Re: higher precision doubles Roedy Green <see_website@mindprod.com.invalid> - 2011-09-10 11:22 -0700

csiph-web