Huge numbers I didn’t even know about.
by Stii
I’ve been playing around with Lisp a little just out of curiosity. The (format) macro used with the “~r” directive convert numbers into english words. Unless you’re a mathematician or a Zimbabwian, these numbers will be new to you like it was to me.
Here we go:
(format nil "~r" 1000000000) "one billion"
Nothing new here.
(format nil "~r" 1000000000000) "one trillion"
Nope, know that one too.
(format nil "~r" 1000000000000000) "one quadrillion"
Yep, have heard of that.
(format nil "~r" 1000000000000000000) "one quintillion"
Vaguely recall that number.
(format nil "~r" 1000000000000000000000) "one sextillion"
Horny little number…
(format nil "~r" 1000000000000000000000000) "one septillion"
Say what!?
(format nil "~r" 1000000000000000000000000000) "one octillion"
Yeah, that should cover my debt. In Zim dollars.
(format nil "~r" 1000000000000000000000000000000) "one nonillion"
We’re starting to get religious about numbers now.
(format nil "~r" 1000000000000000000000000000000000) "one decillion"
By now you can feed me any bullshit, I’d swallow it.
(format nil "~r" 1000000000000000000000000000000000000) "one undecillion"
o.O *speechless*
(format nil "~r" 1000000000000000000000000000000000000000) "one duodecillion"
I’m pretty sure I’ve seen drugs with that name…
(format nil "~r" 1000000000000000000000000000000000000000000) "one tredecillion"
Like, whatever man :P
(format nil "~r" 1000000000000000000000000000000000000000000000) "one quattuordecillion"
Say that one when you’re drunk, I dare you.
(format nil "~r" 1000000000000000000000000000000000000000000000000) "one quindecillion"
The odds of me winning the national lottery. No really. I don’t even play.
(format nil "~r" 1000000000000000000000000000000000000000000000000000) "one sexdecillion"
Kinky!
(format nil "~r" 1000000000000000000000000000000000000000000000000000000) "one septendecillion"
That’s right!
(format nil "~r" 1000000000000000000000000000000000000000000000000000000000) "one octodecillion"
Because octopi can count!
(format nil "~r" 1000000000000000000000000000000000000000000000000000000000000) "one novemdecillion"
Start counting now. November you won’t even be close.
(format nil "~r" 1000000000000000000000000000000000000000000000000000000000000000) "one vigintillion"
HUH?! WFT-illion if you ask me.
That is as far as Lisp’s number to words macro can go. A lot of these are new to me, but hey, now we know.
For the record, if you want to know a little more about Lisp than the joke “Lets insert some parenthesis” I’d recommend you read Practical Common Lisp by Peter Seibel. You can read it for free online should you wish.