Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 28, 2018
1 parent 91cec0b commit a50382e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Externals/NVTT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ add_definitions(-DHAVE_SIGNAL_H -DHAVE_EXECINFO_H)
add_subdirectory(src/nvcore)
add_subdirectory(src/nvimage)
add_subdirectory(src/nvmath)
add_subdirectory(src/nvtt)
add_subdirectory(src/nvtt)
10 changes: 5 additions & 5 deletions src/xrCore/_std_extensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ IC T _sqr(T a)

IC bool _valid(const float x) noexcept
{
// check for: Signaling NaN, Quiet NaN, Negative infinity ( INF), Positive infinity (+INF), Negative denormalized,
// check for: Signaling NaN, Quiet NaN, Negative infinity ( ???INF), Positive infinity (+INF), Negative denormalized,
// Positive denormalized
#if defined(WINDOWS)
int cls = _fpclass(double(x));
Expand All @@ -94,7 +94,7 @@ IC bool _valid(const float x) noexcept
#endif
/* *****other cases are*****
_FPCLASS_NN Negative normalized non-zero
_FPCLASS_NZ Negative zero ( 0)
_FPCLASS_NZ Negative zero ( ??? 0)
_FPCLASS_PZ Positive 0 (+0)
_FPCLASS_PN Positive normalized non-zero
*/
Expand All @@ -104,7 +104,7 @@ IC bool _valid(const float x) noexcept
// double
IC bool _valid(const double x)
{
// check for: Signaling NaN, Quiet NaN, Negative infinity ( INF), Positive infinity (+INF), Negative denormalized,
// check for: Signaling NaN, Quiet NaN, Negative infinity ( ???INF), Positive infinity (+INF), Negative denormalized,
// Positive denormalized
#if defined(WINDOWS)
int cls = _fpclass(x);
Expand All @@ -113,7 +113,7 @@ IC bool _valid(const double x)
#endif
/* *****other cases are*****
_FPCLASS_NN Negative normalized non-zero
_FPCLASS_NZ Negative zero ( 0)
_FPCLASS_NZ Negative zero ( ??? 0)
_FPCLASS_PZ Positive 0 (+0)
_FPCLASS_PN Positive normalized non-zero
*/
Expand Down Expand Up @@ -240,4 +240,4 @@ extern XRCORE_API u32 crc32(const void* P, u32 len);
extern XRCORE_API u32 crc32(const void* P, u32 len, u32 starting_crc);
extern XRCORE_API u32 path_crc32(const char* path, u32 len); // ignores '/' and '\'

#endif // #ifndef MASTER_GOLD
#endif // _STD_EXT_internal

0 comments on commit a50382e

Please sign in to comment.