GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — bpo-45548: Remove _math.c workarounds for pre-C99 libm by tiran · Pull Request #29179 · python/cpython Conversation
|
|
I created an alternative approach but just inlining into |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Agreed. Looks fine to me. I somewhat prefer @brettcannon's approach (it feels odd to be including a |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
A bit off-topic (and probably fodder for a separate PR), but it looks as though we ought to be able to get rid of most of the functionality in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Looking more closely, I think we can assume that all of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible ``libm`` and no longer ship with workarounds for missing acosh, asinh, expm1, and log1p functions. The changeset also removes ``_math.c`` and moves the last remaining workaround into ``_math.h``. This simplifies static builds with ``Modules/Setup`` and resolves symbol conflicts. Co-authored-by: Mark Dickinson <[email protected]> Co-authored-by: Brett Cannon <[email protected]> Signed-off-by: Christian Heimes <[email protected]>
|
@mdickinson I implemented your suggestion, moved the log1p workaround into (Sorry for the squashed commit. I made an error while rewriting the commit message) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM; two nitpicks and one question.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.