VirtualBox

Changeset 96185 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Aug 13, 2022 12:59:14 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). [sparc build fix] bugref:10261

File:
1 edited

Legend:

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

    r96183 r96185  
    105105/** Pair of default double quiet NaN values (indexed by fPositive). */
    106106#if defined(RT_COMPILER_WITH_128BIT_LONG_DOUBLE)
    107 static RTFLOAT128U const    g_lardQNan[2]   = { RTFLOAT128U_INIT_QNAN(0), RTFLOAT128U_INIT_QNAN(1) };
     107static RTFLOAT128U const    g_alrdQNan[2]   = { RTFLOAT128U_INIT_QNAN(0), RTFLOAT128U_INIT_QNAN(1) };
    108108#elif defined(RT_COMPILER_WITH_80BIT_LONG_DOUBLE)
    109109static RTFLOAT80U2 const    g_alrdQNan[2]   = { RTFLOAT80U_INIT_QNAN(0), RTFLOAT80U_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