summaryrefslogtreecommitdiff
path: root/grc/core/Platform.py
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2017-06-27 21:19:04 +0200
committerMarcus Müller <marcus.mueller@ettus.com>2017-06-27 21:19:04 +0200
commit071d27a8b9ce11594fc387be2f3fee58b6813d4d (patch)
tree465d9c2ce2e66de8efbf4c436e5a486f92305fa6 /grc/core/Platform.py
parentb57a37f7c676542f08a27d3f141f4d9ed2ab1132 (diff)
Fix: hazardous floating point sqrt(1.0 - (1.0+-epsilon)²)
https://github.com/gnuradio/gnuradio/issues/1348 sqrt(x<0) yields NaN; to avoid a situation where a variable would be close to, but not necessarily exactly +-1, extracted the relevant floating point corner cases from the loop.
Diffstat (limited to 'grc/core/Platform.py')
0 files changed, 0 insertions, 0 deletions