Would sind and cosd make Euler's formula work correctly? sind(x) + i * sind(x) == math.e ** (i * x)
I suspect that adding these functions is kind of like those cartoons where the boat is springing leaks and the character tried to plug them with their fingers. Floating point is a leaky abstraction. Perhaps you'd prefer an enhancement to the fractions module that provides real (not float) math?
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/