gcd problem



Robert Dodier wrote:
> On 2/14/07, Raymond Toy <raymond.toy at ericsson.com> wrote:
> 
>>     Stavros> *silent* failure is almost always unacceptable.  *IF* we are going to use
>>     Stavros> integer arithmetic, we have to err out in the case of overflow.  I don't
>>     Stavros> think there are mechanisms for doing that in all (any?) of the Lisps we run
>>     Stavros> in without using generic arithmetic.
>>
>> I agree that we need to do something.  An explicit check might be
>> necessary, but perhaps only for GCL.
> 
> Maybe it is enough to adjust the GCL compiler flags -- maybe the
> flags are set to favor speed over safety. I don't know for sure.
> 

I'd have to check to be sure, but I suspect GCL is one of the more
trusting compilers.  If you say fixnum, GCL believes you, at whatever
safety level.

Ray