# big_integer.sign · Rell standard library · Chromia Docs (concept)

> pure function sign(): integer Returns the sign of this big_integer : -1 if negative, 0 if zero, and 1 if positive. It holds that for all x , x == x.sign() 

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/big_integer/sign/

FUNCTION

# big\_integer.sign

```signature
pure function sign(): integer
```

Returns the sign of this `big_integer`: `-1` if negative, `0` if zero, and `1` if positive.

It holds that for all `x`, `x == x.sign() * x.abs()`.

Since 0.12.0

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/big_integer/sign.html)Generated API reference, mirrored from the live docs
