Skip to content

Commit a50382e

Browse files
committed
Fix code style
1 parent 91cec0b commit a50382e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Externals/NVTT/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ add_definitions(-DHAVE_SIGNAL_H -DHAVE_EXECINFO_H)
44
add_subdirectory(src/nvcore)
55
add_subdirectory(src/nvimage)
66
add_subdirectory(src/nvmath)
7-
add_subdirectory(src/nvtt)
7+
add_subdirectory(src/nvtt)

src/xrCore/_std_extensions.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ IC T _sqr(T a)
8585

8686
IC bool _valid(const float x) noexcept
8787
{
88-
// check for: Signaling NaN, Quiet NaN, Negative infinity ( INF), Positive infinity (+INF), Negative denormalized,
88+
// check for: Signaling NaN, Quiet NaN, Negative infinity ( ???INF), Positive infinity (+INF), Negative denormalized,
8989
// Positive denormalized
9090
#if defined(WINDOWS)
9191
int cls = _fpclass(double(x));
@@ -94,7 +94,7 @@ IC bool _valid(const float x) noexcept
9494
#endif
9595
/* *****other cases are*****
9696
_FPCLASS_NN Negative normalized non-zero
97-
_FPCLASS_NZ Negative zero ( 0)
97+
_FPCLASS_NZ Negative zero ( ??? 0)
9898
_FPCLASS_PZ Positive 0 (+0)
9999
_FPCLASS_PN Positive normalized non-zero
100100
*/
@@ -104,7 +104,7 @@ IC bool _valid(const float x) noexcept
104104
// double
105105
IC bool _valid(const double x)
106106
{
107-
// check for: Signaling NaN, Quiet NaN, Negative infinity ( INF), Positive infinity (+INF), Negative denormalized,
107+
// check for: Signaling NaN, Quiet NaN, Negative infinity ( ???INF), Positive infinity (+INF), Negative denormalized,
108108
// Positive denormalized
109109
#if defined(WINDOWS)
110110
int cls = _fpclass(x);
@@ -113,7 +113,7 @@ IC bool _valid(const double x)
113113
#endif
114114
/* *****other cases are*****
115115
_FPCLASS_NN Negative normalized non-zero
116-
_FPCLASS_NZ Negative zero ( 0)
116+
_FPCLASS_NZ Negative zero ( ??? 0)
117117
_FPCLASS_PZ Positive 0 (+0)
118118
_FPCLASS_PN Positive normalized non-zero
119119
*/
@@ -240,4 +240,4 @@ extern XRCORE_API u32 crc32(const void* P, u32 len);
240240
extern XRCORE_API u32 crc32(const void* P, u32 len, u32 starting_crc);
241241
extern XRCORE_API u32 path_crc32(const char* path, u32 len); // ignores '/' and '\'
242242

243-
#endif // #ifndef MASTER_GOLD
243+
#endif // _STD_EXT_internal

0 commit comments

Comments
 (0)