help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'System' (#rtl)

exp

Exponentiate

Declaration

Source position: mathh.inc line 67

function exp(

  d: ValReal

):ValReal;

Description

Exp returns the exponent of X, i.e. the number e to the power X.

Errors

None.

See also

Ln

  

Calculate logarithm

Power

  

Raise float to integer power

Example

Program Example22;

{ Program to demonstrate the Exp function. }

begin
  Writeln (Exp(1):8:2); { Should print 2.72 }
end.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505