Submitter: Fred J. Tydeman (USA)
Submission Date: 2010-06-17
Subject: Minimal fix to complex divide
Consider the expression: (1.0+1.0*I)/(0.0+NAN*I). It produces (0.0+0.0*I) instead of the expected (NAN+NAN*I). This is because logbw is infinity for both INFINITY and zero.
Change "isinf(logbw)" to "(INFINITY==logbw)".
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4