bug fix: printed some reals wrong

This commit is contained in:
ceriel 1989-06-20 11:43:01 +00:00
parent 9e151cf706
commit 6d78cd6710

View file

@ -139,7 +139,7 @@ IMPLEMENTATION MODULE RealConversions;
RETURN;
END;
str[ind1] := 'E'; INC(ind1);
IF r # 0.0D THEN DEC(pointpos); END;
IF arg # 0.0D THEN DEC(pointpos); END;
IF pointpos < 0 THEN
pointpos := -pointpos;
str[ind1] := '-';