https://github.com/linksplatform/Numbers/blob/3e30245cba6979a0d505426168b714e23535c585/MathHelpers%5BT%5D.cs#L13