fastnum2 0.3.2

fork of Fast decimal numbers library
Documentation
1
2
3
4
5
6
7
8
use crate::decimal::{dec::math::nth_root::nth_root, Decimal};

type D<const N: usize> = Decimal<N>;

#[inline]
pub(crate) const fn cbrt<const N: usize>(x: D<N>) -> D<N> {
    nth_root(x, 3)
}