VirtualBox

Ignore:
Timestamp:
Aug 13, 2022 12:54:25 AM (2 years ago)
Author:
vboxsync
Message:

IPRT: Added RTStrNanLongDouble, RTStrNanDouble and RTStrNanFloat (they are RTStr as they share code with RTStrToLongDouble and friends handling NaN tags). [build fix] bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strtofloat.cpp

    r96181 r96183  
    107107static RTFLOAT128U const    g_lardQNan[2]   = { RTFLOAT128U_INIT_QNAN(0), RTFLOAT128U_INIT_QNAN(1) };
    108108#elif defined(RT_COMPILER_WITH_80BIT_LONG_DOUBLE)
    109 static RTFLOAT80U const     g_alrdQNan[2]   = { RTFLOAT80U_INIT_QNAN(0), RTFLOAT80U_INIT_QNAN(1) };
     109static RTFLOAT80U2 const    g_alrdQNan[2]   = { RTFLOAT80U_INIT_QNAN(0), RTFLOAT80U_INIT_QNAN(1) };
    110110#else
    111111static RTFLOAT64U const     g_alrdQNan[2]   = { RTFLOAT64U_INIT_QNAN(0), RTFLOAT64U_INIT_QNAN(1) };
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette