J. David Bryan wrote:
On 5 Apr 2000, at 18:30, Peter Gerwinski wrote:
What does GCC do on the same platforms?
("mod" is "%" in C.)
Unfortunately, that won't help define what Pascal should do (I think that is what you are implying here -- apologies if it is not). The semantics of mod varies among languages, so deciding what C does isn't applicable.
What I'd like to have checked is whether GNU C's "mod" operation produces different results on different platforms. If so, we have detected a bug in the backend, otherwise in the frontend.
Of course, this must be fixed and changed to something Pascalish.
Peter