Minimum doesn't work correctly with integer values if all values are > INT_MAX

Issue #828 new
Jim Rea
repo owner created an issue

Panorama is using INT_MAX, defined by Apple in limits.h. Apparently this is a 32 bit value, I think Panorama should be using LONG_MAX, which I think is the correct 64 bit value.

I think that the Maximum command will not work if all values are more negative than -INT_MAX.

This also affects the aggregate( function.

Search for INT_MAX to find the two places in the code affected by this.

Comments (0)

  1. Log in to comment