Procs
proc bit_length(self: NimInt): NimInt {....raises: [], tags: [], forbids: [].}
- Source Edit
proc bit_lengthUsingBitops(x: SomeInteger): int
-
inner usage.
undefined result if x == 0
Note: though in ArchLinux with __GNUC__ == 15 the result for x==0 is 0, you cannot tell this behavior reliable.Source Edit
Templates
template is_integer(_: NimInt): bool
-
Admonition: since Python 3.12Source Edit