Function sizeInBaseUpperBound [src]
Returns the approximate size of the integer in the given base. Negative values accommodate for
the minus sign. This is used for determining the number of characters needed to print the
value. It is inexact and may exceed the given value by ~1-2 bytes.
Prototype
pub fn sizeInBaseUpperBound(self: Managed, base: usize) usize
Parameters
self: Managed
base: usize
Source
pub fn sizeInBaseUpperBound(self: Managed, base: usize) usize {
return self.toConst().sizeInBaseUpperBound(base);
}