On Thu Feb 21 12:15:06 2008, Whiteknight wrote:
> What would be the best way to handle this? We certainly don't need to do
> anything on systems where INT_MAX == -INT_MIN, but a simple compiler
> directive should help to detect that case. 
> 
> In the event that abs(INT_MIN) > abs(INT_MAX), should we silently
> saturate the result to INT_MAX, or should we error?
> 
> I'll be happy to put in a patch for this once I know what the behavior
> should be.
> 
> --Andrew Whitworth

Any ruling on this?

Reply via email to