public void TestPow() { // TODO: Proper test description and test cases var result = BigDouble.Pow(1.15f, 6000); Assert.That(BigDouble.IsInfinity(result), Is.False); }
private static bool IsOutsideDoubleRange(BigDouble bigDouble) { if (BigDouble.IsNaN(bigDouble) || BigDouble.IsInfinity(bigDouble)) { return(false); } return(bigDouble.Exponent > Math.Log10(double.MaxValue) || bigDouble.Exponent < Math.Log10(double.Epsilon)); }