All implementations have a limited size (8, 16, 32 or 64 bits).
As NATURAL_8, NATURAL_16, NATURAL_32 and NATURAL_64 are expanded classes, it is not possible to
expect any form of polymorphism (but you are sure to get the very best execution speed).
The number of bits used to store the value of Current
(it is 8 for NATURAL_8, 16 for NATURAL_16 and so on)
This is actually used only for assertion here, in NATURAL_GENERAL.
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!).
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!).
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!).
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!).
The number of bits used to store the value of Current
(it is 8 for NATURAL_8, 16 for NATURAL_16 and so on)
This is actually used only for assertion here, in NATURAL_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