|
@@ -13,7 +13,7 @@ begin
|
|
|
SetExceptionMask([exInvalidOp,exDenormalized,exZeroDivide,exOverflow,exUnderflow,exPrecision]);
|
|
|
writeln('{ Generated by FPC ',{$I %FPCVERSION%},' using tgenstr.pp }');
|
|
|
writeln('uses math; procedure c(d : double;const s : string);');
|
|
|
- writeln('var hs : string;begin str(d,hs); if hs<>s then begin writeln(d,'' '',hs); halt(1); end; end;');
|
|
|
+ writeln('var hs : string;begin str(d,hs); if hs<>s then begin writeln(''expected: "'',s,''", got: "'',hs,''"''); halt(1); end; end;');
|
|
|
for j:=1 to 1 do
|
|
|
begin
|
|
|
writeln('procedure p',j,'; begin');
|