---
title: saturating_add_pos() | Tiger Data Docs
description: Add two numbers, saturating at 0 for the minimum bound
---

Early access [1.8.0](https://github.com/timescale/timescaledb-toolkit/releases/tag/1.8.0)

The `saturating_add_pos` function adds two numbers, saturating at 0 and 2,147,483,647 instead of overflowing.

## Arguments

The syntax is:

```
saturating_add_pos(
  x INT,
  y INT
) RETURNS INT
```

| Name | Type | Default | Required | Description              |
| ---- | ---- | ------- | -------- | ------------------------ |
| x    | INT  | -       | ✔        | An integer to add to `y` |
| y    | INT  | -       | ✔        | An integer to add to `x` |

## Returns

| Column               | Type | Description                                                  |
| -------------------- | ---- | ------------------------------------------------------------ |
| saturating\_add\_pos | INT  | The result of `x + y`, saturating at 0 for the minimum bound |
