On Sun, 2 Oct 2011, Jon Elson wrote:

> Date: Sun, 02 Oct 2011 21:01:26 -0500
> From: Jon Elson <[email protected]>
> Reply-To: EMC developers <[email protected]>
> To: EMC developers <[email protected]>
> Subject: Re: [Emc-developers] Single-precision datatype
> 
> andy pugh wrote:
>> I am a bit puzzled by the layers of typedefs in the source code.
>>
>> Is there a datatype (in C) that I can always be sure will be a 4-byte
>> single-precision float?
>>
> Sheesh, in C, nothing is guaranteed.  Running Ubuntu with gcc on X86
> hardware,
> you have some guaranteed data types that are not likely to change for a
> while,
> but not a whole lot is guaranteed over other C compilers, other
> architectures
> and other variants of Linux.
>
> Jon

a "float" type is 99.9% IEEE 754 single precision (32 bit) these days since 
almost all hardware is now IEEE 754 (those running EMC on VAXes feel free to 
object  :-)



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to