> ## Documentation Index
> Fetch the complete documentation index at: https://takeprofit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Package math

Math package.

> [!NOTE]
>
> See description in the [official Python docs](https://docs.python.org/3.10/library/math.html).

***

## Variables

**1. Constants**

[Navigate to const\_e](#const_e)

e

float

Standard constant of Indie math package (similar to Python's).

[Navigate to const\_inf](#const_inf)

inf

float

Standard constant of Indie math package (similar to Python's).

[Navigate to const\_nan](#const_nan)

nan

float

Standard constant of Indie math package (similar to Python's).

[Navigate to const\_pi](#const_pi)

pi

float

Standard constant of Indie math package (similar to Python's).

***

## Functions

### `acos()`

*function*

**1. Overloads**

acos

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `asin()`

*function*

**1. Overloads**

asin

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `atan()`

*function*

**1. Overloads**

atan

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `ceil()`

*function*

**1. Overloads**

ceil

(x) -> int

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `cos()`

*function*

**1. Overloads**

cos

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `exp()`

*function*

**1. Overloads**

exp

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `exp2()`

*function*

**1. Overloads**

exp2

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `floor()`

*function*

**1. Overloads**

floor

(x) -> int

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `isclose()`

*function*

**1. Overloads**

isclose

(x, y, \*, rel\_tol, abs\_tol) -> bool

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

First value to check for proximity.

y

float

required

Second value to check for proximity.

rel\_tol

float

default:
1e-9

Relative tolerance for proximity check.

abs\_tol

float

default:
0.0

Absolute tolerance for proximity check.

***

### `isnan()`

*function*

**1. Overloads**

isnan

(x) -> bool

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `log()`

*function*

**1. Overloads**

log

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `log10()`

*function*

**1. Overloads**

log10

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `log2()`

*function*

**1. Overloads**

log2

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `pow()`

*function*

**1. Overloads**

pow

(x, y) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Base value to calculate exponentiation.

y

float

required

Exponent (power) value to calculate exponentiation.

***

### `sin()`

*function*

**1. Overloads**

sin

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `sqrt()`

*function*

**1. Overloads**

sqrt

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***

### `tan()`

*function*

**1. Overloads**

tan

(x) -> float

Standard function of Indie math package (similar to Python's).

**parameters info**

x

float

required

Number on which the function will be calculated.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.