swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make a floating point value part of an activity


From: Scott Christley
Subject: Re: How to make a floating point value part of an activity
Date: Tue, 15 Apr 1997 09:36:57 -0700

At 07:36 PM 4/10/97 -0500, Kevin Crowston wrote:
>
>I wondered about this too (see my earlier postings about storing floats in
>Arrays) so I reread the section on type conversion in the C manual (I
>assume the same rules apply in ObjC).  I had assumed that you could cast
>any 32-bit item to any other by simply reinterpreting the bits, but not so.
>Only int to pointer is allowed and supported;

And you really don't even want to do that because it will cause problems on
the newer 64 bit processors like the Alpha where pointers are 64 bit but
integers are still 32 bit.

Scott


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]