Commit 66d65d21 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

in comment, use abs for parameter instead of our range constants

parent 93fce0fd
...@@ -786,7 +786,7 @@ static inline int PD_BADFLOAT(t_float f) ...@@ -786,7 +786,7 @@ static inline int PD_BADFLOAT(t_float f)
/* Test to find unusually large or small normal values, in /* Test to find unusually large or small normal values, in
addition to denormals, NANs and infs: 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, This is useful for catching extreme values in, say, a filter,
then bashing to zero before ever calculating a denormal. */ then bashing to zero before ever calculating a denormal. */
...@@ -816,7 +816,7 @@ static inline int PD_BADFLOAT(t_float f) ...@@ -816,7 +816,7 @@ static inline int PD_BADFLOAT(t_float f)
/* Test to find unusually large or small normal values, in /* Test to find unusually large or small normal values, in
addition to denormals, NANs and infs: 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, This is useful for catching extreme values in, say, a filter,
then bashing to zero before ever calculating a denormal. */ then bashing to zero before ever calculating a denormal. */
......
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