Skip to content

Commit

Permalink
Fix Almost0 was a subnormal value
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Mar 6, 2024
1 parent 6261405 commit 7975083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/Constants/include/CommonConstants/MathConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace constants
{
namespace math
{
constexpr float Almost0 = 1.17549e-38;
constexpr float Almost0 = 1.1754944e-38;
constexpr float Almost1 = 1.f - 1.0e-6;
constexpr float VeryBig = 1.f / Almost0;

Expand Down

0 comments on commit 7975083

Please sign in to comment.