<div dir="ltr"><div><div><div><font><font face="comic sans ms,sans-serif"><br></font></font></div><font><font face="comic sans ms,sans-serif">I tried to let EXPT <font><font face="comic sans ms,sans-serif">to result a very lar<font><font face="comic sans ms,sans-serif">ge number. But, when I use windows x86, it <font><font face="comic sans ms,sans-serif">sign<font><font face="comic sans ms,sans-serif">al<font><font face="comic sans ms,sans-serif">ed a type error</font></font></font></font></font></font></font></font></font></font> `</font></font><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif">Error: The value 38580251 is not of the expected type (UNSIGNED-BYTE 24).'<font><font face="comic sans ms,sans-serif">(<font><font face="comic sans ms,sans-serif">it seems that this error <font><font face="comic sans ms,sans-serif">is signaled </font></font></font></font>when printing the result</font></font>). My friend asked Gary Bayer <font><font face="comic sans ms,sans-serif">about <font><font face="comic sans ms,sans-serif">this</font></font></font></font>, he said this <font><font face="comic sans ms,sans-serif">was<font><font face="comic sans ms,sans-serif"> caused by that the result is too large<font><font face="comic sans ms,sans-serif"> and it <font><font face="comic sans ms,sans-serif">is not a<font><font face="comic sans ms,sans-serif"> bug. But I don't understand that if it really caused by the result was too <font><font face="comic sans ms,sans-serif">large, why <font><font face="comic sans ms,sans-serif">not</font></font> </font></font></font></font></font></font></font></font></font></font></font></font>signal<font><font face="comic sans ms,sans-serif">s a<font><font face="comic sans ms,sans-serif"> condition <font><font face="comic sans ms,sans-serif">which named (<font><font face="comic sans ms,sans-serif">e.g.) OUT-OF-RANGE<font><font face="comic sans ms,sans-serif"> or</font></font> TOO-LARGE-NUMBER, etc.</font></font></font></font></font></font></font></font><br>
</font></font></font></font></div><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif">I tried this in windows x64, but <font><font face="comic sans ms,sans-serif">it doesn't signal<font><font face="comic sans ms,sans-serif"> a<font><font face="comic sans ms,sans-serif"> </font></font></font></font></font></font></font></font>type erro<font><font face="comic sans ms,sans-serif">r now. Instead, it <font><font face="comic sans ms,sans-serif">seem<font><font face="comic sans ms,sans-serif">ed to crash by "</font></font></font></font></font></font></font></font></font></font><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif">The page file is too<font><font face="comic sans ms,sans-serif"> small, the operation can<font><font face="comic sans ms,sans-serif">not be finished.</font></font></font></font></font></font></font></font>"</font></font></font></font></font></font>, and <font><font face="comic sans ms,sans-serif">cou<font><font face="comic sans ms,sans-serif">ld not <font><font face="comic sans ms,sans-serif">get</font></font> the backtrace<font><font face="comic sans ms,sans-serif">.</font></font></font></font></font></font><br>
<br></font></font></font></font></div><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif">I <font><font face="comic sans ms,sans-serif">think it is better to signal a<font><font face="comic sans ms,sans-serif"> condition </font></font></font></font></font></font>that <font><font face="comic sans ms,sans-serif">the CCL's users</font></font> can easily understand what the problem <font><font face="comic sans ms,sans-serif">actually is, </font></font>directly from the <font><font face="comic sans ms,sans-serif">condition<font><font face="comic sans ms,sans-serif">, in these situations.</font></font></font></font><br>
</font></font></font></font><div><div><div><font><font face="comic sans ms,sans-serif"><br></font></font><div><font><font face="comic sans ms,sans-serif">--------------------- CCL 1.9 Windows x86 ------------------------<br>
<br><font><font face="comic sans ms,sans-serif">Welcome to Clozure Common Lisp Version 1.9-rc1-r15693 (WindowsX8632)!<br>? (expt 2 123456789)<br>> Error: The value 38580251 is not of the expected type (UNSIGNED-BYTE 24). <-- why the error is shown like this ?<br>
> While executing: CCL::%PR-INTEGER, in process listener(1).<br>> Type :POP to abort, :R for a list of available restarts.<br>> Type :? for other options.<br>1 > :b<br>*(2799A20) : 0 (%PR-INTEGER #<error printing object> 10 #<SYNONYM-STREAM to *TER<br>
MINAL-IO* #xC3405D6> NIL NIL) 1007<br> (2799A80) : 1 (WRITE-AN-INTEGER #<error printing object> #<SYNONYM-STREAM to *T<br>ERMINAL-IO* #xC3405D6> 10 NIL) 255<br> (2799AA0) : 2 (%CALL-NEXT-METHOD (NIL #<CCL::STANDARD-KERNEL-METHOD PRINT-OBJEC<br>
T #> . 10380995)) 1007<br> (2799ADC) : 3 (%%STANDARD-COMBINED-METHOD-DCODE (#<CCL::STANDARD-KERNEL-METHOD<br>PRINT-OBJECT :AROUND #> #<CCL::STANDARD-KERNEL-METHOD PRINT-OBJECT #>) 10380995)<br> 623<br> (2799B18) : 4 (WRITE-A-FROB #<error printing object> #<SYNONYM-STREAM to *TERMI<br>
NAL-IO* #xC3405D6> 536870911 NIL) 151<br> (2799B54) : 5 (WRITE-INTERNAL #<SYNONYM-STREAM to *TERMINAL-IO* #xC3405D6> #<er<br>ror printing object> 536870911 NIL) 679<br> (2799B84) : 6 (WRITE-1 #<error printing object> #<SYNONYM-STREAM to *TERMINAL-I<br>
O* #xC3405D6> 536870911) 527<br> (2799B98) : 7 (WRITE #<error printing object> :STREAM #<SYNONYM-STREAM to *TERM<br>INAL-IO* #xC3405D6> :ESCAPE T :RADIX NIL :BASE 10 :CIRCLE NIL :PRETTY NIL :LEVEL<br> NIL :LENGTH NIL :CASE :UPCASE :GENSYM T :ARRAY T :READABLY NIL :RIGHT-MARGIN NI<br>
L :MISER-WIDTH 40 :LINES NIL :PPRINT-DISPATCH #<PPRINT-DISPATCH-TABLE #xC34488E><br> :STRUCTURE T :SIMPLE-VECTOR NIL :SIMPLE-BIT-VECTOR NIL :STRING-LENGTH NIL) 1479<br><br> (2799D78) : 8 (TOPLEVEL-PRINT (#<error printing object>) #<SYNONYM-STREAM to *T<br>
ERMINAL-IO* #xC3405D6>) 463<br> (2799D94) : 9 (READ-LOOP :INPUT-STREAM #<SYNONYM-STREAM to *TERMINAL-IO* #xC340<br>6AE> :OUTPUT-STREAM #<SYNONYM-STREAM to *TERMINAL-IO* #xC3405D6> :BREAK-LEVEL 0<br>:PROMPT-FUNCTION #<Compiled-function (:INTERNAL CCL::READ-LOOP) (Non-Global) #x<br>
44ABBA6>) 2071<br> (2799EBC) : 10 (RUN-READ-LOOP :BREAK-LEVEL 0) 183<br> (2799ED0) : 11 (TOPLEVEL-LOOP) 71<br> (2799ED8) : 12 (FUNCALL #'#<(:INTERNAL (TOPLEVEL-FUNCTION (CCL::LISP-DEVELOPMEN<br>T-SYSTEM T)))>) 71<br>
(2799EE8) : 13 (FUNCALL #'#<(:INTERNAL CCL::MAKE-MCL-LISTENER-PROCESS)>) 559<br> (2799F34) : 14 (RUN-PROCESS-INITIAL-FORM #<TTY-LISTENER listener(1) [Active] #x<br>C33FD26> (#<COMPILED-LEXICAL-CLOSURE # #xC33FA5E>)) 639<br>
(2799F78) : 15 (FUNCALL #'#<(:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS)<br>))> #<TTY-LISTENER listener(1) [Active] #xC33FD26> (#<COMPILED-LEXICAL-CLOSURE #<br> #xC33FA5E>)) 519<br> (2799FCC) : 16 (FUNCALL #'#<(:INTERNAL CCL::THREAD-MAKE-STARTUP-FUNCTION)>) 255<br>
<br>1 ><br></font></font><br></font></font></div><div><font><font face="comic sans ms,sans-serif"><br></font></font></div><div><font><font face="comic sans ms,sans-serif"><font><font face="comic sans ms,sans-serif">---------------------<font><font face="comic sans ms,sans-serif"> CCL 1.9 Windows <font><font face="comic sans ms,sans-serif">X64 ------------------------</font></font></font></font></font></font><br>
</font></font></div><div><font><font face="comic sans ms,sans-serif"><br>Welcome to Clozure Common Lisp Version 1.9-rc1-r15694 (WindowsX8664)!<br>? (expt 2 22222222222)<br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。 <-- <font><font face="comic sans ms,sans-serif">means "The page file is too<font><font face="comic sans ms,sans-serif"> small, the operation can<font><font face="comic sans ms,sans-serif">not be finished.</font></font></font></font>"</font></font>, <font><font face="comic sans ms,sans-serif">same as below</font></font><br>
<br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>> Error: Memory allocation request failed.<br>> While executing: CCL::%PR-INTEGER, in process listener(1).<br>
> Type :POP to abort, :R for a list of available restarts.<br>> Type :? for other options.<br>1 > :b <font><font face="comic sans ms,sans-serif"><--- cannot <font><font face="comic sans ms,sans-serif">display the backtrac<font><font face="comic sans ms,sans-serif">e now</font></font></font></font></font></font><br>
CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>CommitMemory VirtualAlloc: 0x5af 页面文件太小,无法完成操作。<br><br>
> Error: Memory allocation request failed.<br>
> While executing: CCL::%PR-INTEGER, in process listener(1).<br>> Type :POP to abort, :R for a list of available restarts.<br>> Type :? for other options.<br>2 ><br><br><br><br><br><br><br clear="all"></font></font><div>
Best regards,<br>Xiaofeng Yang</div>
</div></div></div></div></div>