gcc321 and doubles and c++

Nathan Sidwell nathan@codesourcery.com
Wed Feb 19 13:36:00 GMT 2003


Chris Croswhite wrote:
> How are doubles represented in memory under c++?  The reason I ask, is that
> I need to get  the value of a double striped of the mantissa and then split
> into two 32 bit words inorder to perform bitwise operations on the
> individual parts (as bitwise operations only work up to long ints).  BTW, I
> am tweaking for better math performance.
It uses the underlying hardware representation.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org




More information about the Gcc-help mailing list