[issue35880] math.sin has no backward error; this isn't documented

Tim Peters report at bugs.python.org
Fri Feb 1 12:35:42 EST 2019


Tim Peters <tim at python.org> added the comment:

As Mark said, the behavior of Python's floating-point math functions (not just trig, but also log, pow, exp, ...) is inherited almost entirely from the platform C's math libraries.  Python itself guarantees nothing about what `math.sin(x)` returns for any `x` - and it can, & does, vary across platforms.

----------
nosy: +tim.peters

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35880>
_______________________________________


More information about the Python-bugs-list mailing list