Root<X, N>: ParseSignFloatNumber<X> extends infer XNumber extends SignFloatNumber
? ParseSignFloatNumber<N> extends infer Root extends SignFloatNumber
? StringifySignFloat<RootDigit<XNumber, Root["float"]["int"]>>
: never
: never
Type Parameters
-
X extends NumberLike
-
N extends NumberLike
Calculate the n-th root of a number