From 66d65d216fa60dc520bf7328cc7c26a2f11ef8b5 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 23 May 2018 16:55:54 -0400
Subject: [PATCH] in comment, use abs for parameter instead of our range
 constants

---
 pd/src/m_pd.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h
index b61ecb079..3bf4de91e 100644
--- a/pd/src/m_pd.h
+++ b/pd/src/m_pd.h
@@ -786,7 +786,7 @@ static inline int PD_BADFLOAT(t_float f)
 
 /* Test to find unusually large or small normal values, in
    addition to denormals, NANs and infs:
-   f >= abs(2^65) or < abs(2^-63)
+   abs(f) >= 2^65 or < 2^-63
 
    This is useful for catching extreme values in, say, a filter,
    then bashing to zero before ever calculating a denormal. */
@@ -816,7 +816,7 @@ static inline int PD_BADFLOAT(t_float f)
 
 /* Test to find unusually large or small normal values, in
    addition to denormals, NANs and infs:
-   f >= abs(2^513) or < abs(2^-511)
+   abs(f) >= 2^513 or < 2^-511
 
    This is useful for catching extreme values in, say, a filter,
    then bashing to zero before ever calculating a denormal. */
-- 
GitLab