We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd5649 commit ef77db7Copy full SHA for ef77db7
2 files changed
include/dxc/Test/HlslTestUtils.h
@@ -470,15 +470,13 @@ inline bool GetTestParamUseWARP(bool defaultVal) {
470
471
#ifdef FP_SUBNORMAL
472
473
-template <typename T = float>
474
-inline bool isdenorm(T f) {
+template <typename T = float> inline bool isdenorm(T f) {
475
return FP_SUBNORMAL == std::fpclassify(f);
476
}
477
478
#else
479
480
481
482
return (std::numeric_limits<T>::denorm_min() <= f &&
483
f < std::numeric_limits<T>::min()) ||
484
(-std::numeric_limits<T>::min() < f &&
0 commit comments