🔵 🔵 🔵


Primary

၊၊||၊|။

math ⚬⃕ᵖʸ|Documentation|1st|20251021150919-00-⌔

math — Mathematical functions — Python 3 documentation

math — Mathematical functions

This module provides access to common mathematical functions and constants, including those defined by the C standard.

These functions cannot be used with complex numbers; use the functions of the same name from the cmath module if you require support for complex numbers. The distinction between functions which support complex numbers and those which don’t is made since most users do not want to learn quite as much mathematics as required to understand complex numbers. Receiving an exception instead of a complex result allows earlier detection of the unexpected complex number used as a parameter, so that the programmer can determine how and why it was generated in the first place.

The following functions are provided by this module. Except when explicitly noted otherwise, all return values are floats.

📊 ➺

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •