Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
floats
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
RB  
View profile  
 More options May 15 2010, 10:48 am
Newsgroups: microsoft.public.masm
From: "RB" <NoMail@NoSpam>
Date: Sat, 15 May 2010 10:48:45 -0400
Local: Sat, May 15 2010 10:48 am
Subject: floats
I read somewhere awhile back (unless I am confused) that the
modern day math coprocessors did operations on 80bit
floating point values. If the input value was a smaller bit length
it was converted up and then converted back down after.
Is this true ?
And if so I would surmise that it is a trivial performance factor of
conversion so that using a float as oppose to a double ( if the
precision offered by a float was sufficient ) is advantageous only
in the amount of storage it requires ?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Harris  
View profile  
 More options May 15 2010, 7:16 pm
Newsgroups: microsoft.public.masm
From: James Harris <james.harri...@googlemail.com>
Date: Sat, 15 May 2010 16:16:47 -0700 (PDT)
Local: Sat, May 15 2010 7:16 pm
Subject: Re: floats
On 15 May, 15:48, "RB" <NoMail@NoSpam> wrote:

> I read somewhere awhile back (unless I am confused) that the
> modern day math coprocessors did operations on 80bit
> floating point values. If the input value was a smaller bit length
> it was converted up and then converted back down after.
> Is this true ?
> And if so I would surmise that it is a trivial performance factor of
> conversion so that using a float as oppose to a double ( if the
> precision offered by a float was sufficient ) is advantageous only
> in the amount of storage it requires ?

For x86, yes, you are right. IIRC the maths coprocessor *can* be
changed to use floating point numbers less precise than 80-bit and
that's sometimes worth doing - such as for fast divides.

Check out instrucion timing tables documented by Agner Fog for lots of
details.

James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RB  
View profile  
 More options May 17 2010, 10:34 am
Newsgroups: microsoft.public.masm
From: "RB" <NoMail@NoSpam>
Date: Mon, 17 May 2010 10:34:26 -0400
Local: Mon, May 17 2010 10:34 am
Subject: Re: floats
Thanks James

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »