Inversus

From SCAR Divi Manual
Revision as of 19:56, 30 August 2011 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Inversus(const E: Extended): Extended;

Source Code

function Inversus(const 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