VisualAge Generator to Enterprise Generation Language Migration Guide

Math EZE words

The left table column shows the VisualAge Generator 4.5 EZE word. The right column shows what the migration tool converts the EZE word to in EGL. Except where noted, the argument lists are the same in VisualAge Generator as they are in EGL, so they are omitted from the table.

Figure 111. Math EZE words -- General math functions

EZE word in VisualAge Generator 4.5
EGL definition
EZEABS mathLib.abs
EZECEIL mathLib.ceiling
EZEEXP mathLib.exp
EZEFLOOR mathLib.floor
EZEFREXP mathLib.frexp
EZELDEXP mathLib.ldexp
EZELOG mathLib.log
EZELOG10 mathLib.log10
EZEMAX mathLib.maximum
EZEMIN mathLib.minimum
EZEMODF mathLib.modf
EZENCMPR mathLib.compareNum
EZEPOW mathLib. pow
EZEPRSCN mathLib.precision
EZEROUND mathLib.round
Note:
mathLib.round is also used to replace VAGen statements with the (R option. The assignment statement migration for those statements has the following syntax:
 result = 
 mathLib.round(numericExpression);
EZESQRT mathLib.sqrt

Figure 112. Math EZE words -- Trigonometric math functions

EZE word in VisualAge Generator 4.5
EGL definition
EZEACOS mathLib.acos
EZEASIN mathLib.asin
EZEATAN mathLib.atan
EZEATAN2 mathLib.atan2
EZECOS mathLib.cos
EZECOSH mathLib.cosh
EZESIN mathLib.sin
EZESINH mathLib.sinh
EZETAN mathLib.tan
EZETANH mathLib.tanh

Figure 113. Math EZE words -- Floating point math functions

EZE word in VisualAge Generator 4.5
EGL definition
EZEFLADD mathLib.floatingSum
EZEFLDIV mathLib.floatingQuotient
EZEFLMOD mathLib.floatingMod
EZEFLMUL mathLib.floatingProduct
EZEFLSET mathLib.floatingAssign
EZEFLSUB mathLib.floatingDifference


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]