# `Beamchmark.Math`
[🔗](https://github.com/membraneframework/beamchmark/blob/v1.4.2/lib/beamchmark/math.ex#L1)

The module contains helper math types and utility functions.

# `percent_diff_t`

```elixir
@type percent_diff_t() :: percent_t() | :nan
```

Represents a percent difference.

This can be either `t:percent_t/0` or `:nan` when trying to compare value with 0.

# `percent_t`

```elixir
@type percent_t() :: float()
```

Represents a percent.

# `percent_diff`

```elixir
@spec percent_diff(number(), number()) :: percent_diff_t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
