Inversus

From SCAR Divi Manual
Revision as of 22:38, 27 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function Inversus(E: Extended): Extended; </source> ===Source Code=== <source lang="scar"> function Inversus(E: Extended): Exte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Inversus(E: Extended): Extended;

Source Code

function Inversus(E: Extended): Extended;
begin
  Result := Power(E, -1);
end;

Availability

SCAR Divi 3.00 > Current

Description

This function inverts a given extended floating point value E.

Example

begin
  WriteLn(Inversus(2));
end.

Output:

0,5