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

# SECH

> Reference material for SECH function

Calculates the hyperbolic secant of a provided value.

## Syntax

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
SECH(<value>)
```

## Parameters

| Parameter | Description | Supported input types |
| :- | :- | :- |
| `<value>` | The value that determines the returned hyperbolic secant. | `DOUBLE PRECISION` |

## Return Type

`DOUBLE PRECISION`

`SECH` is the reciprocal of `COSH`, which is never zero, so `SECH` is defined for every real argument. A large argument gives an infinite hyperbolic cosine, whose reciprocal is zero.

## Example

The hyperbolic secant of 0 is 1, its maximum:

```
SELECT SECH(0) as result;
```

| result double |
| :- |
| 1 |

Rows: 1Execution time: 5.21ms

At `LN(2)` the result is exact — `1 / COSH(LN(2))`, or `1 / 1.25`:

```
SELECT SECH(LN(2)) as result;
```

| result double |
| :- |
| 0.8 |

Rows: 1Execution time: 5.21ms


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