guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VM] Large integers mishandled


From: Ludovic Courtès
Subject: Re: [VM] Large integers mishandled
Date: Wed, 18 Feb 2009 00:55:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Hello!

address@hidden (Ludovic Courtès) writes:

> Before I forget:
>
>   scheme@(guile-user)> (expt 2 32)
>   $3 = 4294967296
>   scheme@(guile-user)> 4294967296
>   ERROR: In procedure vm-debug-engine:
>   ERROR: load-integer: not implemented yet
>   scheme@(guile-user)> 4294967295
>   $4 = -1
>
> The error is acceptable, but the last one is a bug.  Perhaps there
> should be a `load-unsigned-integer' instruction?

The following commit addresses this:

  
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=b912a1cd6b5d22e1fd3eadca10858d8d0dd9c027

Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]