Constructs an exact decimal type from a built in number
Converts a string representing a number to an exact decimal.
Exceptional condition flags
Exceptional condition flags
Changes the value of this decimal to the value of a built-in number. Also resets all exceptional condition flags.
Performs a binary operation between two decimals, or a decimal and a built in number.
-Infinity is less than all numbers, -NaN is greater than -Infinity but less than all other numbers, NaN is greater than -NaN but less than all other numbers and Infinity is greater than all numbers. -NaN and NaN are equal to themselves.
Performs a binary operation between two decimals, or a decimal and a built in number.
Modifies the decimal in place by adding or subtracting 1 for ++ and -- respectively.
Exceptional condition flags
Convenience function to reset all exceptional condition flags to false at once
Exceptional condition flags
Exceptional condition flags
Exceptional condition flags
hook is a member variable if it has state, or an alias for Hook otherwise.
A exact decimal type, accurate to Hook.precision digits. Designed to be a drop in replacement for floating points.
Behavior is defined by Hook. See the module overview for more information.