Math APIs
The ILE math bindable APIs can be called either through the intrinsic functions of an ILE high-level language, or from an ILE HLL as a call to the API.
For information about using the math APIs, see the following topics:
- Data Types and Limits. Describes the data types used in math bindable APIs, along with special values and limits.
- Calling Math Bindable APIs. Describes how to specify required and omissible parameters.
- Passing Parameters Using Math Bindable APIs. Describes how parameters are passed.
- Message Descriptions. Summarizes messages that can be generated by the math bindable APIs.
The following math bindable APIs are presented in the Math API Descriptions table.
- Absolute Function (CEESxABS)
- Arccosine (CEESxACS)
- Arcsine (CEESxASN)
- Arctangent (CEESxATN)
- Arctangent2 (CEESxAT2)
- Conjugate of Complex (CEESxCJG)
- Cosine (CEESxCOS)
- Cotangent (CEESxCTN)
- Error Function and Its Complement (CEESxERx)
- Exponential Base e (CEESxEXP)
- Exponentiation (CEESxXPx)
- Factorial (CEE4SxFAC)
- Floating Complex Divide (CEESxDVD)
- Floating Complex Multiply (CEESxMLT)
- Gamma Function (CEESxGMA)
- Hyperbolic Arctangent (CEESxATH)
- Hyperbolic Cosine (CEESxCSH)
- Hyperbolic Sine (CEESxSNH)
- Hyperbolic Tangent (CEESxTNH)
- Imaginary Part of Complex (CEESxIMG)
- Log Gamma Function (CEESxLGM)
- Logarithm Base 10 (CEESxLG1)
- Logarithm Base 2 (CEESxLG2)
- Logarithm Base e (CEESxLOG)
- Modular Arithmetic (CEESxMOD)
- Nearest 64-Bit Integer (CEESxNJN)
- Nearest Integer (CEESxNIN)
- Nearest Whole Number (CEESxNWN)
- Positive Difference (CEESxDIM)
- Sine (CEESxSIN)
- Square Root (CEESxSQT)
- Tangent (CEESxTAN)
- Transfer of Sign (CEESxSGN)
- Truncation (CEESxINT)
The following math APIs can be accessed individually:
- Basic Random Number Generation (CEERAN0)
- Convert 64-Bit Integer to Character String (CEE4JNTS)
- Convert Character String to 64-Bit Integer (CEE4JSTN)
For more information about using the ILE CEE APIs, see the following sections:
- ILE CEE API Calling and Naming Conventions
- Data Type Definitions of ILE CEE
- Omitting Parameters in ILE CEE
- IBM® i Messages and the ILE CEE API Feedback Code
[ Back to top | ILE CEE APIs | APIs by category ]