•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileEXP(x)
LOG(x)
LOG10(x)

x: aexp

EXP() computes e to the power x (Euler's number e=2.1782818284...), and LOG()
forms the inverse function, that is the natural logarithm of x. Similarly,
LOG10() returns the logarithm of x to the base 10. The numerical expression x
must be larger than zero with the logarithm function, otherwise an error
message results.

Example:

    x=2
    y=EXP(2)
    PRINT y,LOG10(2*5),LOG(x)

--> On the screen 7.389056098931, 1, and 0.6931471805599 appear.

Memo: For FPU use, see function TT?.