Kbase P5682: How to implement exponents and square roots
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/11/2003 |
|
Status: Verified
GOAL:
How to implement exponents and square roots.
FIX:
Implementing Exponents and Square Root can be done by using the following functions : EXP() and SQRT(). Below you'll find an example how to use them :
/*exmaple */
DEF VAR base AS INT.
DEF VAR expo AS INT.
REPEAT :
UPDATE base expo.
DISPLAY EXP(base,expo).
DISPLAY SQRT(EXP(base,expo)).
END.
/* end example */