Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: CRAY
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 34 of 35 Topic 8111 of 8908
Post > Topic >>

Re: CRAY

by Dick Hendrickson <dick.hendrickson@[EMAIL PROTECTED] > Jul 22, 2008 at 03:36 PM

robin wrote:
> "glen herrmannsfeldt" <gah@[EMAIL PROTECTED]
> wrote in message
> news:P7ednZuBjMKrsRzVnZ2dnUVZ_gWdnZ2d@[EMAIL PROTECTED]
>> robin wrote:
>>
>> (snip, someone wrote)
>>
>>>> When you multiply two 48 bit values (the Cray
>>>> mantissa) you potentially get a 96 bit product.  The
>>>> Cray hardware only computed about 60 bits in the product
>>>> and added in a couple of "statistical" round to make up
>>>> for the missing 30 or so bits.  This was then trimmed down
>>>> to 48 bits.  It was accurate to 48 bits in the majority
>>>> of cases.  I think it was always accurate to 46 or so
>>>> bits.  Whether that is foolish or broken is a judgment
>>>> call.
>>> I'd call it broken.
>>> Makes it difficult to get integer results.
>>> Makes it difficult to get a double precision product.
>> There are many algorithms where the result depends on the
>> average precision of a large number of steps, and many of
>> those were popular on Cray machines.
> 
> Multiplication produces an exact result.  Always.
> That exact result can be truncated or rounded when
> the number of product bits exceed requirements.
> It is unlike division, which may not produce an exact result.
> 
>>  When the choice was
>> to run the problem, or nothing at all, one took what was
>> available.   The Cray-1 single precision was 64 bits with,
>> I believe, 15 for exponent.  I believe double precision
>> in software, probably to satisfy the Fortran standard.
> 
> As I said, having a wrong result for single precision
> makes it difficult to obtain double precision result.
> 
> 
Difficult, but not particularly hard.  The Cray double
precision multiply (done in software) broke up the 96
bit mantissas into four 24 bit integers, did all of the
cross multiplies to produce a series of exact 48 bit
intermediate values.  A few tedious adds, ****fts and
masks produced a 96 bit result which was then combined
with the separately computed exponent.  My recollection
is that it took 10 or 20 times as long as a single
precision multiply.

Dick hendrickson
 




 35 Posts in Topic:
Doubt about formula transcription
Leonardo Marques <surf  2008-04-07 12:36:05 
Re: Doubt about formula transcription
"Michael Metcalf&quo  2008-04-07 20:09:04 
Re: Doubt about formula transcription
fj <francois.jacq@[EMA  2008-04-07 13:34:42 
Re: Doubt about formula transcription
e p chandler <epc8@[EM  2008-04-07 13:36:08 
Re: Doubt about formula transcription
Gordon Sande <g.sande@  2008-04-07 20:38:15 
Re: Doubt about formula transcription
"James Giles" &  2008-04-07 21:11:48 
Re: Doubt about formula transcription
Gordon Sande <g.sande@  2008-04-07 21:49:55 
Re: Doubt about formula transcription
"James Giles" &  2008-04-07 21:58:11 
Re: Doubt about formula transcription
glen herrmannsfeldt <g  2008-04-07 22:33:23 
Re: Doubt about formula transcription
"Michael Metcalf&quo  2008-04-08 11:05:57 
Re: Doubt about formula transcription
"James Giles" &  2008-04-08 11:34:56 
Re: Doubt about formula transcription
glen herrmannsfeldt <g  2008-04-08 09:25:43 
Re: Doubt about formula transcription
"James Giles" &  2008-04-08 18:38:41 
Re: Doubt about formula transcription
glen herrmannsfeldt <g  2008-04-08 11:30:45 
Re: Doubt about formula transcription
"robin" <rob  2008-06-28 04:01:42 
Re: Doubt about formula transcription
"robin" <rob  2008-06-28 04:01:43 
Re: Doubt about formula transcription
glen herrmannsfeldt <g  2008-06-28 00:04:40 
Re: Doubt about formula transcription
"Tim C." <ti  2008-06-30 08:31:23 
Re: Doubt about formula transcription
"robin" <rob  2008-06-28 04:01:40 
Re: Doubt about formula transcription
glen herrmannsfeldt <g  2008-06-28 00:06:31 
Re: Doubt about formula transcription
"robin" <rob  2008-06-28 04:01:41 
Re: Doubt about formula transcription
"robin" <rob  2008-06-28 04:01:41 
Re: Doubt about formula transcription
Leonardo Marques <surf  2008-04-07 16:11:34 
Re: Doubt about formula transcription
"robin" <rob  2008-04-12 14:45:35 
Re: Doubt about formula transcription
e p chandler <epc8@[EM  2008-05-04 19:30:52 
Re: Doubt about formula transcription
glen herrmannsfeldt <g  2008-05-04 18:55:15 
Re: Doubt about formula transcription
Terence <tbwright@[EMA  2008-05-04 20:50:17 
Re: Doubt about formula transcription
robert.corbett@[EMAIL PRO  2008-06-28 01:17:25 
Re: Doubt about formula transcription
"robin" <rob  2008-07-01 03:53:20 
Re: Doubt about formula transcription
Dick Hendrickson <dick  2008-07-04 22:29:29 
Re: CRAY
"robin" <rob  2008-07-05 12:38:49 
Re: CRAY
glen herrmannsfeldt <g  2008-07-18 16:51:09 
Re: CRAY
"robin" <rob  2008-07-22 05:34:38 
Re: CRAY
Dick Hendrickson <dick  2008-07-22 15:36:05 
Re: CRAY
"robin" <rob  2008-07-23 05:14:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 7:29:08 CST 2008.