Rational Properties

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Rational type exposes the following members.

Properties

  Name Description
Public property AbsoluteValue Gets the absolute value of a number.
Public property BitCount Gets an integer that represents the number of bits.
Public property Denominator Gets the denominator of a number.
Public property HasSign Returns a value that indicates whether a Rational object is signed.
Public property IsFinite Returns a value that indicates whether a Rational object is finite.
Public property IsIndeterminate Returns a value that indicates whether a Rational object is indeterminate.
Public property IsInfinite Returns a value that indicates whether a Rational object is infinite.
Public property IsNegativeInfinity Returns a value that indicates whether a Rational object is negative infinity.
Public property IsOne Returns a value that indicates whether a Rational object is equal to one.
Public property IsPositiveInfinity Returns a value that indicates whether a Rational object is positive infinity.
Public property IsSignedInfinity Returns a value that indicates whether a Rational object is signed infinity.
Public property IsUnsignedInfinity Returns a value that indicates whether a Rational object is unsigned infinity.
Public property IsZero Returns a value that indicates whether a Rational object is equal to zero.
Public property Numerator Gets the numerator of a number.
Public property Sign Gets a value that indicates the sign of a number.

Top

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace