TNS/R Native Application Migration Guide
Common Run-Time Environment (CRE) Migration
Tasks
TNS/R Native Application Migration Guide—523745-001
8-3
Standard Math Functions
Standard Math Functions
These CRE standard math functions cannot be called by native programs.Table 8-1
lists the obsolete functions and suggests replacement functions. COBOL85 programs
can call either the COBOL85 intrinsic functions or the other suggested replacement
functions.
Table 8-1. Obsolete Standard Math Functions (page 1 of 3)
Obsolete Function
Suggested Replacement
COBOL85
Only
All Languages
(including COBOL85)
CRE_Arccos_Real32_
RTL_Arccos_Real32_
CRE_Arccos_Real64_
RTL_Arccos_Real64_
ACOS acos()
CRE_Arcsin_Real32_
RTL_Arcsin_Real32_
CRE_Arcsin_Real64_
RTL_Arcsin_Real64_
ASIN asin()
RTL_Arctan_Real32_
RTL_Arctan_Real64_
ATAN atan()
CRE_Arctan2_Real32_
RTL_Arctan2_Real32_
CRE_Arctan2_Real64_
RTL_Arctan2_Real64_
atan2()
RTL_Cos_Real32_
RTL_Cos_Real64_
COS cos()
CRE_Cosh_Real32_
RTL_Cosh_Real32_
CRE_Cosh_Real64_
RTL_Cosh_Real64_
cosh()
CRE_Exp_Real32_
RTL_Exp_Real32_
CRE_Exp_Real64_
RTL_Exp_Real64_
exp()
CRE_Ln_Real32_
RTL_Ln_Real32_
CRE_Ln_Real64_
RTL_Ln_Real64_
LOG log()
CRE_Log10_Real32_
RTL_Log10_Real32_
CRE_Log10_Real64_
RTL_Log10_Real64_
LOG10 log10()
RTL_Lower_Real64_ floor()