From 93fce0fdb4a846e5d396c814008fb33aace2be9e Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 23 May 2018 16:51:20 -0400
Subject: [PATCH] fix off-by-one error in the comments

---
 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 fa41e85bd..b61ecb079 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)
+   f >= abs(2^65) or < abs(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)
+   f >= abs(2^513) or < abs(2^-511)
 
    This is useful for catching extreme values in, say, a filter,
    then bashing to zero before ever calculating a denormal. */
-- 
GitLab