aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/integers.c
AgeCommit message (Collapse)Author
2025-10-19Move integer implementation details into separate header/C files, backedBruce Hill
by template headers that use an INT_BITS macro to redefine implementations for different int sizes.
2025-10-05Add serialization and deserialization by coercion to/from [Byte]Bruce Hill
2025-10-01For structs and fixed-size ints, use `.has_value` instead of `.is_none`Bruce Hill
2025-09-01Bugfix for Int.parse()Bruce Hill
2025-09-01Make Texts() macro a bit more flexible.Bruce Hill
2025-08-25Update file header commentsBruce Hill
2025-08-24Remove vim modelinesBruce Hill
2025-08-23Autoformat everything with clang-formatBruce Hill
2025-08-23Fix some LSP issues, mostly unused importsBruce Hill
2025-08-19Some pedantic fixes vetted against compiling on mac.Bruce Hill
2025-08-17Bugfix for integer parsingBruce Hill
2025-08-16Improved parsing and prefix/suffix matching using a `remainder`Bruce Hill
parameter
2025-06-26Add get_bit() method for Ints and BytesBruce Hill
2025-05-25Bugfix for converting negative integers to textBruce Hill
2025-04-28Remove remaining printf referencesBruce Hill
2025-04-27Update stdlib to use `print` instead of `printf` in all cases. ThisBruce Hill
means bringing in fpconv to do float-to-string conversion and a few updates to integer and number methods for string formatting.
2025-04-18Make Int.prev_prime() optional instead of erroringBruce Hill
2025-04-15Make some compatibility fixes to make sure the compiler can fully buildBruce Hill
using TinyCC
2025-04-07Move clamped() and is_between() to proper functions (not just macros)Bruce Hill
2025-04-06Rename Array -> List in all code and docsBruce Hill
2025-03-30Deprecate built-in Moment datatype in favor of a `time` moduleBruce Hill
2025-03-27Deprecate custom printf specifiers in favor of print() function thatBruce Hill
uses _Generic() to generically convert any value to a string or print as a string.
2025-03-21Move stdlib into src/Bruce Hill