From a50382e563b9b030e6303f34f5fc3d5845c25a6a Mon Sep 17 00:00:00 2001 From: Aleksey Komarov Date: Mon, 28 May 2018 22:04:07 +0300 Subject: [PATCH] Fix code style --- Externals/NVTT/CMakeLists.txt | 2 +- src/xrCore/_std_extensions.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Externals/NVTT/CMakeLists.txt b/Externals/NVTT/CMakeLists.txt index 8103d159d4c..2c63a27232e 100644 --- a/Externals/NVTT/CMakeLists.txt +++ b/Externals/NVTT/CMakeLists.txt @@ -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) \ No newline at end of file +add_subdirectory(src/nvtt) diff --git a/src/xrCore/_std_extensions.h b/src/xrCore/_std_extensions.h index 3134cc924af..85b14c5b4f0 100644 --- a/src/xrCore/_std_extensions.h +++ b/src/xrCore/_std_extensions.h @@ -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)); @@ -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 */ @@ -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); @@ -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 */ @@ -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