Artifact 608a5247b22c6a44095abf2005263ec50f1493c100f1d461331301ca01e7087c:
- File knum/knum.md — part of check-in [b5f6f19923] at 2019-08-19 01:46:21 on branch trunk — updates, begin putting together error-handling mechanism (user: lexi, size: 570) [annotate] [blame] [check-ins using]
- File mod/knum/knum.md — part of check-in [14172a910a] at 2019-08-21 06:00:24 on branch trunk — move modules to a subdirectory in order to keep the directory tree organized and make room for OS-specific build files (user: lexi, size: 570) [annotate] [blame] [check-ins using]
knum
knum contains libk's functions for dealing with numbers. knum is intended to be much more consistent and generic than libc, with support for arbitrary bases, arbitrarily sized integers, and interfaces at varying levels of abstraction. (for instance, converting numbers to strings will not require invoking a string formatting routine or IO function; string formatting routines will invoke the same conversion functions that users can.) integers larger and smaller than processor types should also be supported, through functions over arrays and bitfield structs.