Skip to content

Commit

Permalink
Add std:: to isfinite in ImathFun.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Feb 12, 2024
1 parent f372d29 commit 67f7d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Imath/ImathFun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ float predf(float f) IMATH_NOEXCEPT

double succd(double d) IMATH_NOEXCEPT
{
return isfinite(d) ?
return std::isfinite(d) ?
std::nextafter(d, std::numeric_limits<double>::infinity()) : d;
}

double predd(double d) IMATH_NOEXCEPT
{
return isfinite(d) ?
return std::isfinite(d) ?
std::nextafter(d, -std::numeric_limits<double>::infinity()) : d;
}

Expand Down

0 comments on commit 67f7d92

Please sign in to comment.