|
|||||
Floating Point | |||||
Functions | Platforms |
The OmniMark Floating Point external function library is a collection of basic arithmetic, trigonometric, Bessel, exponential, and miscellaneous math functions based on the C math library. It serves as a "wrapper" around a particular math library. You can use the functions in this library to write OmniMark applications that can perform double-precision floating point arithmetic.
The Floating Point external function library consists of the following files:
declare function-library
command, and before the external function declarations.
include omfloat.xin
) because the file contains the external function declarations, the float type definition, and related macros.
There are several categories of external functions in the OMFloat library:
To use these functions, you must include the following code near the top of your program:
; name and location of the library file declare function-library "omfloat" ; Floating Point function and constant declarations include "omfloat.xin"
Functions FP_abs FP_acos FP_add FP_asin FP_atan FP_atan2 FP_ceil FP_cos FP_cosh FP_d FP_div FP_eq FP_exp FP_floor FP_ge FP_gt FP_hypot FP_isnan FP_isneg FP_ispos FP_iszero FP_j0 FP_j1 FP_jn FP_le FP_log FP_log10 FP_lt FP_mod FP_mul FP_ne FP_nearest FP_neg FP_pow FP_s FP_sin FP_sinh FP_sqrt FP_sub FP_tan FP_tanh FP_trunc FP_v FP_y0 FP_y1 FP_yn |
Platforms HP/UX Solaris Win 95 Win NT |
---- |