Commit 318a6b0c authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Replace finite with std::isfinite

parent b1a5c7f6
Pipeline #167960 passed with stage
in 2 minutes and 23 seconds
......@@ -19,7 +19,7 @@
#include "prefs.h"
#include <math.h>
#include <cmath>
#if defined(HAVE_IEEEFP_H)
#include <ieeefp.h>
#endif
......@@ -61,7 +61,7 @@ int KalziumUtils::StringWidth(const QString& string, const QFont& font, QPainter
double KalziumUtils::strippedValue(double num)
{
if (!finite(num)) {
if (!std::isfinite(num)) {
return num;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment