Previous: MPIR.Net Random Numbers, Up: .Net Interface [Index]
This static class contains several members that describe or control various default behaviors of the other MPIR.Net classes.
Represents the total number of bits in a single MPIR limb, including data bits and nail bits. This will be either 32 or 64, depending on your selected build architecture.
Represents the number of nail bits in a single MPIR limb. Nail bits are used internally by MPIR.
Represents the number of data bits in a single MPIR limb.
Represents the version of the underlying MPIR library
Represents the version of GMP with which the underlying MPIR library is compatible
Gets or sets the default rounding mode used for MPIR integer division operations that don’t explicitly specify a rounding mode.
Does not affect rational or float operations. The default value is Truncate
.
Gets or sets the maximum number of digits the object.ToString()
method override will output.
If an integer number is longer than this number of digits, it will be output as "[-]...NNNNN
" with the least significant digits shown.
Rational numbers apply the limit separately to the numerator and denominator.
Floats output the most significant digits, and there is no ellipsis.
The primary purpose of this setting is to prevent accidental allocation of large memory blocks while inspecting variables in the debugger. The default value is 256. Setting this property to 0 causes all digits to be output.
Previous: MPIR.Net Random Numbers, Up: .Net Interface [Index]