Lisp 学习日志

从当当买到了《实用Common Lisp教程》(冰河译),终于有本“新”的Lisp书了。

准备把学习过程中比较恼人的问题记在这里。

SBCL、CLISP都只有X86版,看着Clozure CL 1.7 有Win64版,因为用的Win64,就选了CCL。

尝试:(format nil "~R" (* 999999999999 9191459345899132498914589134948589249589)) 

在CCL中会报错:“Number too large to print in English:”

换SBCL试试(有段时间X86版的SBCL在Win64上是运行不起来的,但1.0.52正常),能HOLD住:

"nine sexdecillion one hundred ninety-one quindecillion four hundred fifty-nine
quattuordecillion three hundred forty-five tredecillion eight hundred eighty-nin
e duodecillion nine hundred forty-one undecillion thirty-nine decillion five hun
dred sixty-eight nonillion six hundred ninety octillion two septillion four hund
red forty-nine sextillion six hundred seventy-four quintillion six hundred sixty
 quadrillion four hundred fifty-four trillion fifty-one billion four hundred ten
 million seven hundred fifty thousand four hundred eleven"

你可能感兴趣的:(Lisp)