The word count variable is an intmax_t, so assuming ISO C (it’s GNU so probably not but whatever) it has to be at least C99 and thus support at least 64 bit longlong.
Looking forward to the nine quintillion word LW posts. Wonder if I should submit a patch to make wc(1) use GMP for future proofing purposes…
yeah i noticed yesterday there’s a link to (one of) Zack’s blog(s) in SSC’s sidebar.
so what precisely is Zack supposed to be good at in Rationality other than Blancharding?
Word count.
when you need to add an exponential notation option to wc
wc --tldr
https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/wc.c#n507
The word count variable is an
intmax_t
, so assuming ISO C (it’s GNU so probably not but whatever) it has to be at least C99 and thus support at least 64 bitlong long
.Looking forward to the nine quintillion word LW posts. Wonder if I should submit a patch to make
wc(1)
use GMP for future proofing purposes…