MSVC win32: convert extended precision float (80-bit) to double (64-bit)

Posted by Dennis Yurichev on Stack Overflow See other posts from Stack Overflow or by Dennis Yurichev
Published on 2010-06-03T02:54:39Z Indexed on 2010/06/03 3:04 UTC
Read the original article Hit count: 331

Filed under:
|
|

What is the most portable and "right" way to do conversion from extended precision float (80-bit value, also known as "long double" in some compilers) to double (64-bit) in MSVC win32/win64?

MSVC currently (as of 2010) assumes that "long double" is "double" synonym.

© Stack Overflow or respective owner

Related posts about floating-point

Related posts about msvc