2 ms·
A nice thing about Common Lisp's unlimited precision integer is it made testing a Common Lisp compiler much easier. One can easily generate random integer-valu
by pfdietz 7y ago
A nice thing about Common Lisp's unlimited precision integer is it made testing a Common Lisp compiler much easier.
One can easily generate random integer-valued lisp forms without having to do much checking that integers are in range. In C or other languages with bounded integer size it's much tougher (see Regehr et al.'s Csmith). It's also tough to reduce a failing test case without introducing bad behavior in C; in Lisp it's straightfoward.