index
:
tomo
bigints
constructive-reals
decimals
dev
doctests-to-debuglog
formatter
internal-texts
main
optional-list-indexing
optionals
paths
simplified-quotes
static-dependencies
str-paths
table-colons
text2
unicode-identifiers
wordier-types
The Tomo programming language
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
builtins
/
integers.c
Age
Commit message (
Expand
)
Author
2024-09-04
Add Text:repeat()
Bruce Hill
2024-09-04
Unify parsing code to correctly handle parsing integers and numbers with
Bruce Hill
2024-09-03
Use Text("...") literal constructor instead of Text$from_str("...")
Bruce Hill
2024-09-02
Fix up some integer and print statement stuff
Bruce Hill
2024-09-02
Initial WIP first past
Bruce Hill
2024-08-23
Bugfix for parsing ints
Bruce Hill
2024-08-18
Add primality testing and next_prime()/prev_prime()
Bruce Hill
2024-08-16
Change division and modulus to use euclidean division, plus fix up a few
Bruce Hill
2024-08-14
Fix up type conversions with ints and nums
Bruce Hill
2024-08-13
Tweak implementations of math ops
bigints
Bruce Hill
2024-08-13
Add Int:sqrt()
Bruce Hill
2024-08-13
Support ^ exponentiation for integers
Bruce Hill
2024-08-13
Fix some edge cases
Bruce Hill
2024-08-13
Create inlined fast versions of integer ops
Bruce Hill
2024-08-13
Fix issue with integer comparisons
Bruce Hill
2024-08-13
Fix int hashes
Bruce Hill
2024-08-13
Fix ranges
Bruce Hill
2024-08-13
Fix Int->Num promotions
Bruce Hill
2024-08-13
Get rid of slow_* int functions
Bruce Hill
2024-08-13
Fixing up more stuff
Bruce Hill
2024-08-13
Fixing up integers
Bruce Hill
2024-08-13
More fixes
Bruce Hill
2024-08-13
Remove debug prints
Bruce Hill
2024-08-13
Bugfixes
Bruce Hill
2024-08-13
Partially working first draft of bigints
Bruce Hill
2024-08-05
Add a Range datatype with creation methods like `5:to(10)` and
Bruce Hill
2024-08-03
Fix integer random functions so they correctly handle all representable
Bruce Hill
2024-06-06
Prefer 'sizeof(t[n])' over 'sizeof(t)*n'
Bruce Hill
2024-04-10
Add from_text() method for ints/nums
Bruce Hill
2024-03-29
Switch naming convention to use '$' in symbols more
Bruce Hill
2024-03-18
Improve codegen for enums by eliminating unnecessary methods
Bruce Hill
2024-03-18
More file comments
Bruce Hill
2024-03-10
Rearranging some files
Bruce Hill
2024-03-03
Rename as_str -> as_text
Bruce Hill
2024-03-03
Definitively go with "Int" and "Num" over "Int64" and "Num64", plus add
Bruce Hill
2024-02-27
Const typeinfos
Bruce Hill
2024-02-27
Stop using namespace types
Bruce Hill
2024-02-17
Overload type names with constructor and namespace struct
Bruce Hill
2024-02-17
Fix up align issues
Bruce Hill
2024-02-17
Use #defines for Int aliasing
Bruce Hill
2024-02-17
Fix up USE_COLOR
Bruce Hill
2024-02-17
Cleanup of builtins
Bruce Hill
2024-02-17
Rename 'cord' to 'as_str'
Bruce Hill
2024-02-17
Fix up some builtins
Bruce Hill
2024-02-04
Builtins
Bruce Hill