Logo GenPRES

Informedica.Utils.Lib.BCL Namespace

Type/Module Description

BigCell

Heap cell holding a spilled (big) rational. Used as RationalX's big tier; its presence (non-null) doubles as the small/big discriminator, which is what lets RationalX avoid a DU tag word and stay 24 bytes wide.

BigInteger

Calculates the greatest common divisor and least common multiple of big integers and generates a Farey sequence.

BigRational (Module)

Parses, converts, formats and calculates with BigRational values, including divisors, multiples of an increment and ranges from a minimum to a maximum. The module is compiled with the Module suffix, so that its compiled name does not clash with the BigRational type.

BigRational (Type)

Drop-in alias: existing code that refers to the BigRational type now uses the faster two-tier RationalX. Coexists with the BigRational module.

Boolean

Holds the function returning false and the function returning true for any argument.

Char

Tests whether a character is a letter, a capital or a lower case letter and converts the case of a character.

DateTime

Creates a DateTime, adds years, months, weeks or days to a DateTime and calculates the difference between two DateTime values.

Decimal

Parses a decimal from text, rounds a decimal to significant digits and formats a decimal as a Dutch number.

Double

Parses a float from text, checks whether a float is valid, rounds a float to significant digits, converts a float to a fraction and formats a float as a Dutch number.

Int32

Parses an integer from text and formats an integer with a point as thousands separator.

MBR

Internal spill-tier alias. RationalX keeps exact rationals in an int64 fast path and only falls back to this MathNet BigRational when an intermediate overflows int64.

NumericLiteralN

Creates a RationalX from a numeric literal with the suffix N, such as 0N, 1N and 1000N.

RationalX

A two-tier exact rational packed into 24 bytes: two int64s for the reduced small-tier numerator/denominator, and a nullable BigCell reference for the rare spill tier. Big = null means small (value P/Q); a non-null Big means spilled (value Big.Value).

String

Trims, splits, compares, replaces and cleans up text. Most functions return an empty string or a default value for a null string.

Tuple

Returns the first, second or third element of a tuple of three elements.

Type something to start searching.