mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 10:59:29 +02:00
11 lines
177 B
ObjectPascal
11 lines
177 B
ObjectPascal
{ %OPT=-O2 }
|
|
{$MODE ObjFpc}
|
|
|
|
function IsPos(const v:Double):Boolean;
|
|
begin
|
|
Result := (PChar(@v)+6)^ > #0;
|
|
end;
|
|
|
|
begin
|
|
WriteLn(IsPos(23));
|
|
end. |