std::isinf is there since C++11 [1]. Let's replace home-grown rtl::math::isInf (declared/defined in include/rtl/math.hxx) with this standard function. [1] https://en.cppreference.com/w/cpp/numeric/math/isinf
It is fine to remove uses of that rtl::math function across the LO code base. But the function is part of the stable URE interface, so cannot easily itself be removed. (We can think about an [API CHANGE] to drop this and similar inline functions from rtl/math.hxx once all of them are unused across the LO code base.)
I think I will also take this one. Should I keep leaving these comments, or can I just assign the issue to myself?
(In reply to Yukio Siraichi from comment #2) It's OK to just assign to yourself. Thank you!
Yukio Siraichi committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c95529ed8eee120c109cd6fc7c94f615606586b0 tdf#130976 replace `rtl::math::isInf` with `std::inf`. It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.