PyMOTW: math – Mathematical functions

The math module implements many of the IEEE functions that would normally be found in the native platform C libraries for complex mathematical operations using floating point values, including logarithms and trigonometric operations.

Read more at pymotw.com: math