This website requires JavaScript.
Explore
Help
Register
Sign In
asleepymoon
/
Luna
Watch
1
Star
1
Fork
0
You've already forked Luna
Code
Issues
Pull Requests
Actions
Projects
Releases
8
Wiki
Activity
1,333
Commits
3
Branches
21
Tags
11
MiB
a49555addc
Commit Graph
4 Commits
Author
SHA1
Message
Date
apio
5854e5e530
Add newlines at end-of-file
2023-01-02 13:07:29 +01:00
apio
1fa99f4f64
Make {add,sub,mul}_will_overflow more compiler-independent
All checks were successful
continuous-integration/drone/push
Build is passing
Details
2022-12-06 15:53:06 +01:00
apio
26b44e651d
Change safe_{sub,add,mul} so they perform the operation only once
All checks were successful
continuous-integration/drone/push
Build is passing
Details
2022-12-06 15:47:59 +01:00
apio
e91c04b1d1
luna: Introduce safe arithmetic operations, which return an error if an operation would overflow
2022-12-06 15:40:18 +01:00