Posted by Tim Roberts on 06/10/06 07:26
vendredi5h@gmail.com wrote:
>
>I'd like to split a 64-bits word (hold as a floating point number) into
>two 32-bits words (hold as integers). Bitwise operators are working on
>Integers, not on floating point.
>
>Anyone can tell me how I can do this?
Impossible in straight PHP. You can't get access to the bits.
You could do it with a C extension. What are you actually trying to do?
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Navigation:
[Reply to this message]
|