Message359921
> For Windows, you need to do much more than this: it's not just about handling NaNs and infinities, it's about reimplementing the entire function from scratch to give correctly rounded results. Without correctly-rounded results, there's very little point in having fma.
Would it make sense to only make the function available on non-Windows platforms? As we do for other Unix-only functions in the os module. Maybe even skip more platforms if they provide a broken implementation.
We could implement a test suite in configure to decide if fma() fits our requirements or not. |
|
Date |
User |
Action |
Args |
2020-01-13 18:04:04 | vstinner | set | recipients:
+ vstinner, mark.dickinson, pitrou, steven.daprano, skrah, nschloe, python-dev, serhiy.storchaka, eric.fahlgren, juraj.sukop, donovick |
2020-01-13 18:04:03 | vstinner | set | messageid: <1578938643.77.0.628140940293.issue29282@roundup.psfhosted.org> |
2020-01-13 18:04:03 | vstinner | link | issue29282 messages |
2020-01-13 18:04:03 | vstinner | create | |
|