sapdev logo background
sapdev logo sapdev logo
Comments

SAP NEWS-30-COMPUTE documentation, setup help and example usage



Return to SAP documentation index



Arithmetic Expressions in Release 3.0

1 New operation: Exponentiation
2 New arithmetic functions


ABAP_MODIFICATION_1 Exponentiation

The COMPUTE statement now supports the operator " ** ". Previously, the exponential operation " X ** Y
" was awkward to express. You either had to use repeated multiplication (if Y was an integer) or the expression "EXP( Y * LOG( X ) ) " for any exponent Y.


ABAP_MODIFICATION_2 New arithmetic functions

Most common arithmetic functions are now supported. The functions
ABS , SIGN , CEIL , FLOOR , TRUNC , and
FRAC are suitable for all numeric types ( I , P , and F
). The functions SIN and COS , intended mainly for floating point operands, were already available, as well as EXP , LOG and SQRT . The following have now been added:

the trigonometry functions TAN , ACOS , ASIN , and ATAN
the hyperbola functions COSH , SINH , and TANH
the logarithm function LOG10
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




NEWS-30
NEWS-30-CONVERTER




comments powered by Disqus