Question: Bug is sum when start index larger than end index.

In a sum I would expect 0 when the minimum index is larger than the maximum index.

Yet Maple 2017.3 does this only for special cases:

> for i from 0 to 4 do
     sum(1,j=i..1);
  end do;
                               2
                               1
                               0
                               -1
                               -2

 

 

 

Please Wait...