# negate function

The negative of a number: the function form of a minus sign.

## How to write it

### negate(x)

**x**

The number or expression. Takes an expression.

## Examples

- $\displaystyle \operatorname{negate}(5) = -5$

  `negate(5)`

  In the solver, `negate(5)` gives `-5`.

  [Open in the solver](https://hilberon.com/?q=negate%285%29)

## Related functions

- [plus](https://hilberon.com/library/plus)

  Sum of numbers: the function form of +.
- [mod](https://hilberon.com/library/mod)

  Remainder of a division of whole numbers.
- [power](https://hilberon.com/library/power)

  A power: the function form of ^.
- [min](https://hilberon.com/library/min)

  The smallest of some numbers.
- [quotient](https://hilberon.com/library/quotient)

  Whole-number quotient of a division, without the remainder.
- [max](https://hilberon.com/library/max)

  The largest of some numbers.

---
Source: https://hilberon.com/library/negate
