Il giorno lunedì 19 ottobre 2015 12:54:34 UTC+2, Stefan Karpinski ha 
scritto:
>
> Here's a simple function that gives the UInt32 words of a Float64:
>
> function words(x::Float64)
>     y = reinterpret(UInt64, x)
>     y % UInt32, (y >> 32) % UInt32
> end
>
>
Nice!

This is 1 machine op (the shift) from C version, I guess that going on par 
would be (very) low priority for the time being. 

Thanks

Uliano

Reply via email to