Language features and reinterpret casts

BCS none at anon.com
Tue Sep 21 05:59:31 PDT 2010


Hello Don,

> BCS wrote:
> 
>> Hello Don,
>>
>>> It's going to be implementation defined behaviour (will depend on
>>> endianness)
>>> 
>> Does that matter if the members are the same size?
>> 
> Definitely -- you'll grab the part of the mantissa, instead of the
> exponent.

How would that work? Can a system store ints big-endian and floats little-endian?

-- 
... <IXOYE><





More information about the Digitalmars-d mailing list