If you look for performances, you should always prefer append_in which allow you to recycle
a unique common buffer (each call of to_string allocate a new object!).
See also append_in_format, append_in_unicode, append_in_unicode_format, to_hexadecimal_in.
Append in the buffer the equivalent of to_unicode_string.
If you look for performances, you should always prefer append_in_unicode which allow you to recycle
a unique common buffer (each call of to_unicode_string allocate a new object!).
See also append_in_unicode_format, append_in, append_in_format, to_hexadecimal_in.
Append in the buffer the equivalent of to_string_format.
If you look for performances, you should always prefer append_in_format which allow you to recycle
a unique common buffer (each call of to_string_format allocate a new object!).
See also append_in, append_in_unicode, append_in_unicode_format, to_hexadecimal_in.
Append in the buffer the equivalent of to_unicode_string_format.
If you look for performances, you should always prefer append_in_unicode_format which allow you to recycle
a unique common buffer (each call of to_unicode_string_format allocate a new object!).
See also append_in_format, append_in, append_in_format, to_hexadecimal_in.
If you look for performances, you should always prefer to_octal_in which allow you to recycle
a unique common buffer (each call of to_octal allocate a new object!).
See also to_hexadecimal_in, append_in, append_in_format, append_in_unicode.
ensure
buffer.count = old buffer.count + bit_count #// 3 + 1
Append in the buffer the equivalent of to_hexadecimal.
If you look for performances, you should always prefer to_hexadecimal_in which allow you to recycle
a unique common buffer (each call of to_hexadecimal allocate a new object!).
See also to_octal_in, append_in, append_in_format, append_in_unicode.
According to the ANSI C99: if Current and other are both non-negative, the Result is the
quotient of the Euclidian division; but this is not the general case, the Result value is the
algebraic quotient Current/other with any fractional part discarded. (This is often called
"truncated toward zero"). So, the corresponding remainder value only verify the expression
remainder.abs < other.abs.
Remainder of the integer division of Current by other.
According to the ANSI C99:
* if Current and other are both non-negative,
the Result is the remainder of the Euclidian division.
* but this is not the general case,
Result as the same sign as Current and only verify
the expression Result.abs < other.abs.
Note that this feature is not exported because this information is part of the type.
This is actually used only for assertion here, in INTEGER_GENERAL.
A value that is equal to Current if it is between the limits set by
a_min and a_max.
Otherwise it's a_min if Current is smaller or a_max if Current
is greater
It's a shortcut for Current.min(a_max).max(a_min) also known as
"clamp" in the widespread C library Glib