Hi all,
I need the above two methods to convert double to long and back
on the CompactFramework, preferrably with good performance.
I really like the idea of using a StructLayout with two members
at the same position that I found here:
> http://groups.google.com/groups?(E-Mail Removed)%3E
Apparently the FieldOffset attribute does not seem to be available
on CF. I find that quite strange, since the documentation states
that LayoutKind.Explicit is supported.
Any ideas, options, hints?
Fast bitshifting code to convert a double to long and back would
be a great help also.
Thanks in advance.
Kind regards,
Carl
--
Carl Rosenberger
db4o - database for objects -
http://www.db4o.com