issues
search
saxbophone
/
arby
Arbitrary precision arithmetic in C++, even at compile-time
https://saxbophone.com/arby/
Mozilla Public License 2.0
8
stars
1
forks
source link
Add test cases for malformed _nat literals
#128
Open
saxbophone
opened
1 year ago
saxbophone
commented
1 year ago
[ ] Test cases for use of digits outside those permissible for a given base, e.g:
[ ]
102FFCDEAB0_nat
(hex digits used when the literal is meant to be decimal)
[ ]
0xZZt3F_29313_nat
(digits outside of hex literal)
[ ] Modify user-defined-literal code to raise an error when these are encountered
102FFCDEAB0_nat
(hex digits used when the literal is meant to be decimal)0xZZt3F_29313_nat
(digits outside of hex literal)