fpc/tests/webtbs/tw37398.pp
2020-07-21 20:09:39 +00:00

13 lines
153 B
ObjectPascal

program testnan;
{$mode objfpc}{$H+}
uses math;
var d: double;
temp: Boolean;
begin
d := NaN;
temp := IsNan(d) or (d = 0);
writeln(temp);
end.