pow is implemented with Math.pow, so it has the same limitations. For example, N.pow(-8)(1/3) will be NaN rather than -2. See nthRoot for a more robust function for roots.
pow
Math.pow
N.pow(-8)(1/3)
NaN
-2
import * as N from "flurp/number";const square = N.pow(2);square(5); // 25
Remarks
powis implemented withMath.pow, so it has the same limitations. For example,N.pow(-8)(1/3)will beNaNrather than-2. See nthRoot for a more robust function for roots.Example