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 c82edf3 commit b473f95Copy full SHA for b473f95
include/nbl/builtin/hlsl/shapes/beziers.hlsl
@@ -413,7 +413,7 @@ struct Quadratic
413
414
// exponent so large it would wipe the mantissa on any relative operation
415
// should be exp2<float_t>(numeric_limits<float_t>::digits) ater tgmath has an exp2
416
- const float_t PARAMETER_THRESHOLD = hlsl::exp2(numeric_limits<float_t>::digits);
+ const float_t PARAMETER_THRESHOLD = hlsl::exp2(_static_cast<float>(numeric_limits<float_t>::digits));
417
Candidates candidates;
418
419
float_t2 Bdiv2 = B*float_t(NBL_FP64_LITERAL(0.5));
0 commit comments