Fortran Class

Contains methods that provide the equivalent of some FORTRAN functions.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static class Fortran
Inheritance
Object  →  Fortran

Methods

AInt(Double) Rounds a value towards zero.
AInt(Single) Rounds a value towards zero.
Digits(Double) Gets the number of binary digits in the mantissa of a floating-point number.
Digits(Single) Gets the number of binary digits in the mantissa of a floating-point number.
Epsilon(Double) Gets the smallest floating-point number that, when added to 1, gives a result different from 1.
Epsilon(Single) Gets the smallest floating-point number that, when added to 1, gives a result different from 1.
Huge(Double) Gets the largest floating-point number that is not infinite.
Huge(Single) Gets the largest floating-point number that is not infinite.
MaxExponent(Double) Gets the largest possible exponent of a floating-point number.
MaxExponent(Single) Gets the largest possible exponent of a floating-point number.
MinExponent(Double) Gets the smallest possible exponent of a floating-point number.
MinExponent(Single) Gets the smallest possible exponent of a floating-point number.
Nint(Double) Rounds a value to the nearest whole number.
Nint<T>(T) Rounds a value to the nearest whole number.
Precision(Double) Gets the approximate number of decimal digits of precision of a floating-point number.
Precision(Single) Gets the approximate number of decimal digits of precision of a floating-point number.
Radix(Double) Gets the base of a floating-point number.
Radix(Single) Gets the base of a floating-point number.
ReplaceChar Replaces a character in a string.
ReplaceString Replaces a sequence of characters in a string.
Sign(Double, Double) Copies the sign from one number to another.
Sign(Int32, Int32) Copies the sign from one number to another.
Sign(Single, Single) Copies the sign from one number to another.
Sign<T>(T, T) Copies the sign from one number to another.
Tiny(Double) Gets the smallest normal positive (non-zero) floating-point number.
Tiny(Single) Gets the smallest normal positive (non-zero) floating-point number.

See Also