-1 karma · joined Aug 18, 2019 (7y ago) · 7 submissions
comment 7y ago · link · parent
They absolutely do.
Fourier transform multiplication methods are a terrible idea if you run them on numbers that aren't hundreds of digits long, but the only way to multiply truly large numbers.
comment 7y ago · link · parent
^[ *][-?][0-9][0-9]*[ *]$
You're welcome. Anything that passes that regex is a valid number. Now using that as a basis of a lexer means that you can store any int in whatever precision you feel like.It's unfortunate that the majority of programmers these days are so computer illiterate that they can't write a parser for matching parens and call you an elitist for pointing out this is something anyone with a year of programming should be able to do in their sleep.