4 ms·
Here's an article on it that was posted awhile back: https://medium.com/@smcallis_71148/complex-arithmetic-is-complicated-873ec0c69fc5 https://medium.com/@smcal
by gct 8y ago
Here's an article on it that was posted awhile back:
https://medium.com/@smcallis_71148/complex-arithmetic-is-complicated-873ec0c69fc5 https://medium.com/@smcallis_71148/complex-arithmetic-is-com...
The gist is that you can get Nan+jNan for some operations where you wanted "infinity", so to do things their way, you have to insert a NaN check after multiplication for example. This isn't too bad by itself (it's just a bit mask), but it completely borks the vectorizer.