DoubleArithmetic MethodsMathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library

The DoubleArithmetic type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAbsoluteError
Public methodStatic memberApproximatelyEquals
Public methodStatic memberCompareTo
Public methodStatic memberCube
Public methodStatic memberHypotenuse(Double, Double)
This method gives more accurate values for Sqrt(x^2+y^2) using Naive method: Math.Sqrt(x*x+y*y) may be faster but it overflows for large values (more than 1e150) and underflows for small values (less than 1e-150)
Public methodStatic memberHypotenuse(Double, Double, Double)
Public methodStatic memberHypotenuseSquared(Double, Double)
Public methodStatic memberHypotenuseSquared(Double, Double, Double)
Public methodStatic memberPow
Public methodStatic memberPow2
Public methodStatic memberPow3
Public methodStatic memberPow4
Public methodStatic memberPow5
Public methodStatic memberPow6
Public methodStatic memberPow7
Public methodStatic memberPow8
Public methodStatic memberPow9
Public methodStatic memberPowInt
this function (due to our tests) does not provide more accuracy than Math.Sqrt but it is as faster as twice and is also slightly faster than naive method (114%)
Public methodStatic memberRelativeError
Public methodStatic memberSqr
Top
See Also

Reference