[CLAIR-devel] [Fwd: Re: [SWIPL] Strange behavior of arithmetic shift]

Roberto Bagnara bagnara at cs.unipr.it
Mon Oct 30 19:57:43 CET 2006



-------- Original Message --------
Subject: Re: [SWIPL] Strange behavior of arithmetic shift
Date: Mon, 30 Oct 2006 20:01:36 +0100
From: Jan Wielemaker <wielemak at science.uva.nl>
To: prolog at science.uva.nl
References: <45462B17.7010003 at cs.unipr.it>

On Monday 30 October 2006 17:40, Roberto Bagnara wrote:
> $ pl
> Welcome to SWI-Prolog (Multi-threaded, Version 5.6.21)
> Copyright (c) 1990-2006 University of Amsterdam.
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Please visit http://www.swi-prolog.org for details.
>
> For help, use ?- help(Topic). or ?- apropos(Word).
>
> ?- X is -3 << -3.
> ERROR: Out of global stack
> ?-

Thanks.  Fixed.  Luckily it isn't a real bug as bitwise operations on
negative values are `implementation defined' :-)  Anyway, the behaviour
is now what more users expect.

	Cheers --- Jan


------------
For further info, please visit http://www.swi-prolog.org/

To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to majordomo at science.uva.nl


-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the CLAIR-devel mailing list