[net.lang.pascal] Help! A pc bug we missed!

sullivan@cmcl2.UUCP (09/15/84)

We are trying to install the DECWRL Modula-2 and have found a bug in the
4.2 pc that we have.  Obvously we missed a correction for it somewhere,
so if you have the fix, could you mail it?

The problem lies in assigning an integer constant in the range 128 to 255
to a real variable.  The results turn out to be in the range -128 to -1.

Example:
	program foo (output);
	var
	   x : real;
	begin
		{ this is not ok }
		x := 255;	writeln(x);
		{ this is ok }
		x := 255.0;	writeln(x)
	end.

Will produce:

-1.00000000000000e+00
 2.55000000000000e+02

Help!  We are burning with the desire to get Modula-2 up and running!

Thanks in advance!
David J. Sullivan		UUCP:  ...!{allegra | ihnp4}!cmcl2!sullivan
New York University		ARPA:  sullivan@nyu-cmcl2