Real
constraint Realimport Real from Wax;Numeric operations plus floating-point classification. Equality and ordering follow the implementing type; built-in float and double treat NaNs as equal for these methods.
Members
GetHashCodemethod
public fn GetHashCode() : uint32Returns a hash consistent with value equality.
ToStringmethod
public fn ToString() : stringReturns the value's text representation.
ToStringBuffermethod
public fn ToStringBuffer(StringBuilder builder) : int32Appends the text representation and returns the number of UTF-8 bytes appended.
Equalsmethod
public fn Equals(this other) : boolTests value equality.
CompareTomethod
public fn CompareTo(this other) : int32Returns negative, zero, or positive for less, equal, or greater.
IsNaNmethod
public fn IsNaN() : boolTests for a not-a-number value.
IsInfinitymethod
public fn IsInfinity() : boolTests for either signed infinity.
IsFinitemethod
public fn IsFinite() : boolTests that the value is neither infinite nor NaN.
IsNegativeInfinitymethod
public fn IsNegativeInfinity() : boolTests specifically for negative infinity.
Parsemethod
public static fn Parse(string text) : this?Parses using the implementing type's default syntax, returning null on failure.