On Fri, Dec 20, 2024 at 4:48 AM Andrew Nelson via NumPy-Discussion
<numpy-discussion@python.org> wrote:

>
> Or is there a risk that the Python interpreter would prematurely optimize 
> that to give:
>
> ```
> dx = h
> ```
>
>
> --
> _____________________________________
> Dr. Andrew Nelson


Wow, that would be a pretty serious optimization bug to override Kahan
summation. Are you speaking of some theoretical future version of the
interpreter, or of the current state of things?
Matti
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to