We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2d210 commit 96ec9dcCopy full SHA for 96ec9dc
libclc/clc/lib/generic/math/clc_subnormal_config.cl
@@ -16,7 +16,7 @@ _CLC_DEF bool __clc_fp16_subnormals_supported() {
16
// SPIR-V doesn't support llvm.canonicalize for now.
17
return false;
18
#else
19
- return !__builtin_isfpclass(__builtin_canonicalizef(0x1p-24h),
+ return !__builtin_isfpclass(__builtin_canonicalizef((float)0x1p-24h),
20
__FPCLASS_POSZERO);
21
#endif
22
}
@@ -39,7 +39,7 @@ _CLC_DEF bool __clc_fp64_subnormals_supported() {
39
40
41
42
- return !__builtin_isfpclass(__builtin_canonicalizef(0x1p-1074),
+ return !__builtin_isfpclass(__builtin_canonicalize(0x1p-1074),
43
44
45
0 commit comments