Commit 35abd43bc for imagemagick.org

commit 35abd43bcc31d2e50fb94aea3c1767419cd20cfa
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Thu Dec 3 20:28:06 2026 -0500

    cosmetic

diff --git a/MagickCore/statistic-private.h b/MagickCore/statistic-private.h
index c88fffd59..6754f17b5 100644
--- a/MagickCore/statistic-private.h
+++ b/MagickCore/statistic-private.h
@@ -13,7 +13,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.

-  MagickCore private graphic gems methods.
+  MagickCore private statistical methods.
 */
 #ifndef MAGICKCORE_STATISTIC_PRIVATE_H
 #define MAGICKCORE_STATISTIC_PRIVATE_H
@@ -22,11 +22,6 @@
 extern "C" {
 #endif

-/*
-  Note: this header relies on the includer for MagickBooleanType, MagickTrue,
-  MagickFalse, and MagickEpsilon (as other MagickCore private headers do).
-*/
-
 static inline MagickBooleanType MagickSafeSignificantError(const double error,
   const double fuzz)
 {
@@ -34,8 +29,7 @@ static inline MagickBooleanType MagickSafeSignificantError(const double error,
     threshold;

   /*
-    A NaN error is never "insignificant": treat it as significant so that a
-    corrupted metric cannot silently pass a comparison.
+    A NaN error is never "insignificant": treat it as significant.
   */
   if (error != error)
     return(MagickTrue);
@@ -43,29 +37,28 @@ static inline MagickBooleanType MagickSafeSignificantError(const double error,
   return(error > threshold ? MagickTrue : MagickFalse);
 }

-#ifndef DBL_TRUE_MIN
-#define DBL_TRUE_MIN 4.9406564584124654e-324
-#endif
-
 /*
-  log10() that never returns -inf or raises a domain/range error: values <= 0
-  (and NaN) are clamped to the smallest positive double.
+  log10() that never returns -inf or raises a domain/range error: values <= 0 (and NaN) are clamped
+  to the smallest positive double.
 */
 static inline double MagickSafeLog10(const double x)
 {
+#ifndef DBL_TRUE_MIN
+#define DBL_TRUE_MIN  4.9406564584124654e-324
+#endif
+
   return(log10(fmax(x,DBL_TRUE_MIN)));
 }

-/*
-  1/x with the magnitude bounded by 1/MagickEpsilon.  The sign of x is
-  preserved (the previous version returned +1/MagickEpsilon for small
-  negative x).
-*/
 static inline double MagickSafeReciprocal(const double x)
 {
   double
     sign;

+
+  /*
+    1/x with the magnitude bounded by 1/MagickEpsilon.  The sign of x is preserved.
+  */
   sign=x < 0.0 ? -1.0 : 1.0;
   if ((sign*x) < MagickEpsilon)
     return(sign/MagickEpsilon);