Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / tw16263a.pp
Size: Mime:
{ %norun }
{ %needlibrary }
{ %target=darwin,linux,freebsd,solaris,beos,haiku,aix,android }

{$mode delphi}

{$ifdef darwin}
{$PIC+}
{$endif darwin}

{$ifdef CPUX86_64}
{$ifndef WINDOWS}
{$PIC+}
{$endif WINDOWS}
{$endif CPUX86_64}

library tw16263a;

function divide(d1,d2: double): double; cdecl;
begin
  divide:=d1/d2;
end;

begin
  // check that the library does not re-enable fpu exceptions
  divide(1.0,0.0);
end.