import { pow } from "https://deno.land/x/math@v1.1.0/mod.ts";
Returns a numeric whose value is the value of value
raised to the power n
.
If n
is negative and the result has more fraction digits than is specified by Big.DP
, it will be rounded to Big.DP
decimal places using rounding mode Big.RM
.
Throws if n
is invalid.
Parameters
value: BigSource