[GAP Forum] Intersection bug?

Dima Pasechnik dima at ntu.edu.sg
Fri Jul 18 12:58:38 BST 2008


Dear Forum,
I get the same strange behavour on 4.4.10, too:

GAP4, Version: 4.4.10 of 02-Oct-2007, i686-pc-linux-gnu-gcc
gap> Intersection([1..3],[1..3]);
[ 1 .. 3 ]
gap> Intersection([-3..-1],[-3..-1]);
[ -3 .. -1 ]
gap> Intersection([-1..1],[-1..1]);
[  ]

And that's what I am running on.
$ uname -a
Linux *** 2.6.25.10-custom #3 SMP Mon Jul 14 22:54:07 BST 2008 i686 GNU/Linux

So that's a hardware-dependent behavour, apparently.
HTH,
Dmitrii

2008/7/18 Reiner Staszewski <reiner at iem.uni-due.de>:
> Hi Matthew,
>
> I have quite an old version running under windows XP (32 bit), namely
> GAP4P4R4 which behaves as you describe, and another version under 64-bit
> Linux, namly GAP4P4R10, which behaves correctly.
>
> Best wishes, Reiner Staszewski
>
>
> m.fayers at qmul.ac.uk wrote:
>> Can anyone explain why GAP behaves as follows?
>>
>> gap> Intersection([1..3],[1..3]);
>> [ 1 .. 3 ]
>> gap> Intersection([-3..-1],[-3..-1]);
>> [ -3 .. -1 ]
>> gap> Intersection([-1..1],[-1..1]);
>> [  ]
>>
>>
>> ____________________________________________________
>> Matthew Fayers
>>
>> Queen Mary, University of London
>> Mile End Road
>> London E1 4NS
>> U.K.
>>
>> _______________________________________________
>> Forum mailing list
>> Forum at mail.gap-system.org
>> http://mail.gap-system.org/mailman/listinfo/forum
>>
>>
>
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
>



More information about the Forum mailing list