Changeset 96194 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Aug 13, 2022 5:31:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strtofloat.cpp
r96191 r96194 57 57 * Structures and Typedefs * 58 58 *********************************************************************************************************************************/ 59 typedef structFLOATUNION59 typedef union FLOATUNION 60 60 { 61 61 #ifdef RT_COMPILER_WITH_128BIT_LONG_DOUBLE … … 101 101 102 102 /** Pair of default float quiet NaN values (indexed by fPositive). */ 103 static RTFLOAT32U const g_ar32QNan[2] = { RTFLOAT32U_INIT_QNAN( 0), RTFLOAT32U_INIT_QNAN(1) };103 static RTFLOAT32U const g_ar32QNan[2] = { RTFLOAT32U_INIT_QNAN(1), RTFLOAT32U_INIT_QNAN(0) }; 104 104 105 105 /** Pair of default double quiet NaN values (indexed by fPositive). */ 106 static RTFLOAT64U const g_ardQNan[2] = { RTFLOAT64U_INIT_QNAN( 0), RTFLOAT64U_INIT_QNAN(1) };106 static RTFLOAT64U const g_ardQNan[2] = { RTFLOAT64U_INIT_QNAN(1), RTFLOAT64U_INIT_QNAN(0) }; 107 107 108 108 /** Pair of default double quiet NaN values (indexed by fPositive). */ 109 109 #if defined(RT_COMPILER_WITH_128BIT_LONG_DOUBLE) 110 static RTFLOAT128U const g_alrdQNan[2] = { RTFLOAT128U_INIT_QNAN( 0), RTFLOAT128U_INIT_QNAN(1) };110 static RTFLOAT128U const g_alrdQNan[2] = { RTFLOAT128U_INIT_QNAN(1), RTFLOAT128U_INIT_QNAN(0) }; 111 111 #elif defined(RT_COMPILER_WITH_80BIT_LONG_DOUBLE) 112 static RTFLOAT80U2 const g_alrdQNan[2] = { RTFLOAT80U_INIT_QNAN( 0), RTFLOAT80U_INIT_QNAN(1) };113 #else 114 static RTFLOAT64U const g_alrdQNan[2] = { RTFLOAT64U_INIT_QNAN( 0), RTFLOAT64U_INIT_QNAN(1) };112 static RTFLOAT80U2 const g_alrdQNan[2] = { RTFLOAT80U_INIT_QNAN(1), RTFLOAT80U_INIT_QNAN(0) }; 113 #else 114 static RTFLOAT64U const g_alrdQNan[2] = { RTFLOAT64U_INIT_QNAN(1), RTFLOAT64U_INIT_QNAN(0) }; 115 115 #endif 116 116
Note:
See TracChangeset
for help on using the changeset viewer.