diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2017-06-27 21:19:04 +0200 |
---|---|---|
committer | Marcus Müller <marcus.mueller@ettus.com> | 2017-06-27 21:19:04 +0200 |
commit | 071d27a8b9ce11594fc387be2f3fee58b6813d4d (patch) | |
tree | 465d9c2ce2e66de8efbf4c436e5a486f92305fa6 /grc/core/Platform.py | |
parent | b57a37f7c676542f08a27d3f141f4d9ed2ab1132 (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