|
From: | Daniel Diaz |
Subject: | Re: absolute value of min_integer a negative number? |
Date: | Sun, 02 Nov 2008 10:40:12 +0100 |
User-agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
This is "normal" since gprolog does not test for integer overflow. The
same occurs with: ?- current_prolog_flag(max_integer,X),Y is X+1. X = 268435455 Y = -268435456 Daniel Dave Sworin a écrit :
|
[Prev in Thread] | Current Thread | [Next in Thread] |