TNS/R Native Application Migration Guide

Common Run-Time Environment (CRE) Migration
Tasks
TNS/R Native Application Migration Guide523745-001
8-4
Standard Math Functions
CRE_Mod_Int16_
RTL_Mod_Int16_
CRE_Mod_Int32_
RTL_Mod_Int32_
CRE_Mod_Int64_
RTL_Mod_Int64_
RTL_Mod_Real32_
RTL_Mod_Real64_
MOD modf()
RTL_Normalize_Real64_ frexp()
RTL_Odd_Int32_ Write your own function that
determines whether a value is even or
odd.
RTL_Positive_Diff_Int16_
RTL_Positive_Diff_Int32_
RTL_Positive_Diff_Int64_
RTL_Positive_Diff_Real32_
RTL_Positive_Diff_Real64_
Write your own function that returns
the arithmetic difference between two
numbers.
CRE_Power_Int16_to_Int16_
RTL_Power_Int16_to_Int16_
CRE_Power_Int32_to_Int16_
RTL_Power_Int32_to_Int16_
CRE_Power_Int64_to_Int16_
RTL_Power_Int64_to_Int16_
CRE_Power_Real32_to_Int16_
RTL_Power_Real32_to_Int16_
CRE_Power_Real32_to_Real32_
RTL_Power_Real32_to_Real32_
CRE_Power_Real64_to_Int16_
RTL_Power_Real64_to_Int16_
CRE_Power_Real64_to_Real64_
RTL_Power_Real64_to_Real64_
pow()
CRE_Power2_Real64_
RTL_Power2_Real64_
ldexp()
CRE_Random_Next_ RANDOM rand()
CRE_Random_Set_ srand()
RTL_Round_Real32_
RTL_Round_Real64_
Write your own function that returns
the nearest whole number.
Table 8-1. Obsolete Standard Math Functions (page 2 of 3)
Obsolete Function
Suggested Replacement
COBOL85
Only
All Languages
(including COBOL85)