<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- misc/cubic-common.cc	2014-10-25 10:44:23.000000000 +0800
+++ misc/cubic-common.cc	2024-07-18 14:40:32.000000000 +0800
@@ -21,6 +21,8 @@
 
 #include &lt;config-kig.h&gt;
 
+#include &lt;math.h&gt;
+
 #ifdef HAVE_IEEEFP_H
 #include &lt;ieeefp.h&gt;
 #endif
@@ -538,5 +540,5 @@
 
 bool CubicCartesianData::valid() const
 {
-  return finite( coeffs[0] );
+  return isfinite( coeffs[0] );
 }

--- misc/conic-common.cpp	2014-10-25 10:44:23.000000000 +0800
+++ misc/conic-common.cpp	2024-07-18 14:31:27.000000000 +0800
@@ -889,6 +889,6 @@
 
 bool ConicCartesianData::valid() const
 {
-  return finite( coeffs[0] );
+  return isfinite( coeffs[0] );
 }
 
</pre></body></html>