The MacOS toolbox provides apis that convert a double to a Fixed and a Fixed
value to a double: X2Fix and Fix2X. I haven't discovered such apis on
windows. Of course it should be possible to implement such a function based
on converting a long to a Fixed value and vice versa:
(value << 16) and (value >> 16)
but not knowing the intricacies of a double on windows, it seems like a long
road by investigating it just by trial and error. Are there some guidelines,
or has someone already figured it and would care to share it?
Thanks in advance,
Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|