OJ’s rants What would OJ do?

27Jun/077

Extended-Precision Floating-Point Values in the CLR

While at work today I hit a problem that I've never hit before (which is quite rare these days :) ), and while it was frustrating it was also good to learn about something that I never knew was a problem. If you're having some issues marshalling double-precision floating-point information through managed components to unmanaged components, or you're just interested in learning something new, then read on :)

Let me start by explaining the scenario: