CRE Programmer's Guide

Math Functions
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
7-5
Arcsin
Return Value
The Arccos functions return the angle, expressed in radians, whose cosine is cos. The
value returned is in the range
0 less than or equal to
arccos( cos ) less than or equal to pi
Arcsin
The Arcsin functions return the arcsine of their parameter.
sin
is a number in the range:
-1.0 less than or equal to
sin less than or equal to 1.0
An arithmetic fault occurs if
sin is not within this range.
Return Value
The Arcsin functions return the angle, expressed in radians, whose sine is sin. The
value returned is in the range:
-pi/2 less than or equal to arcsin(
sin ) less than or equal to pi/2
Arctan
The Arctan functions return the arctangent of their parameter.
tan
is the number whose arctangent is returned.
REAL(32) PROC { CRE_Arcsin_Real32_ } ( sin );
{ RTL_Arcsin_Real32_ }
REAL(32) sin; ! in TNS only
REAL(64) PROC { CRE_Arcsin_Real64_ } ( sin );
{ RTL_Arcsin_Real64_ }
REAL(64) sin; ! in TNS only
REAL(32) PROC RTL_Arctan_Real32_( tan );
REAL(32) tan; ! in TNS only
REAL(64) PROC RTL_Arctan_Real64_( tan );
REAL(64) tan; ! in TNS only