public void Exp_Test(double x) { Assert.That(CordicMath.Exp(x, _steps) / Math.Exp(x), Is.EqualTo(1.0).Within(_tolerance)); }
public void Ln_TestInvalidArg() { Assert.Throws <ArgumentException>(() => CordicMath.Ln(0.0)); }