# power 函数

幂：^ 的函数形式。

## 怎么写

### power(base, exponent)

**base**

底数。接受一个表达式。

**exponent**

指数。接受一个表达式。

## 示例

- $\displaystyle \operatorname{power}(2, 10) = 1024$

  `power(2, 10)`

  在求解器中，`power(2, 10)` 的结果是 `1024`。

  [在求解器中打开](https://zh.hilberon.com/?q=power%282%2C%2010%29)

## 相关函数

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

  除法的整数商，不含余数。
- [plus](https://zh.hilberon.com/library/plus)

  数值之和：+ 的函数形式。
- [re](https://zh.hilberon.com/library/re)

  复数的实部。
- [negate](https://zh.hilberon.com/library/negate)

  一个数的相反数：负号的函数形式。
- [round](https://zh.hilberon.com/library/round)

  最接近的整数，恰为半时向远离零的方向舍入。
- [mod](https://zh.hilberon.com/library/mod)

  整数除法的余数。

---
Source: https://zh.hilberon.com/library/power
