Don:
> It's going to be implementation defined behaviour (will depend on 
> endianness) but not undefined behaviour.
> BTW std.math heavily relies on reinterpret casting float->int.

I suggest to add something like a std.traits.ReinterpretCast template to Phobos 
and use only it in Phobos modules and user code. This helps readability and 
will help future more aggressively optimizing D compilers too.

Bye,
bearophile

Reply via email to