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


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

Re: higher precision doubles

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: higher precision doubles
Date 2011-09-10 11:22 -0700
Organization Canadian Mind Products
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>

Show all headers | 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