Fortran.Precision Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Precision( | Gets the approximate number of decimal digits of precision of a floating-point number. |
Precision( | Gets the approximate number of decimal digits of precision of a floating-point number. |
Precision(Double)
Gets the approximate number of decimal digits
of precision of a floating-point number.
public static int Precision(
double x
)
Parameters
- x Double
- A dummy real number.
Return Value
Int32Always returns 15.
Precision(Single)
Gets the approximate number of decimal digits
of precision of a floating-point number.
public static int Precision(
float x
)
Parameters
- x Single
- A dummy real number.
Return Value
Int32Always returns 6.