
F. FLOATING-POINT OPERATION LIBRARY
B–61863E–1/06
APPENDIX
526
[Function name]
pl_fasin2
[Description]
Finds angle X from the value of sin X for a circle with a radius of 1.
This function is the inverse of pl_fsin2. The number of decimal
places can be specified.
[Format]
typedef struct {
long long_value ; /* number */
char dec_point ; /* position of decimal point */
} F_FLOAT ;
F_FLOAT x, r, ans ;
unsinged char f ; /* the number of decimal places */
short ret ;
ret = pl_fasin2( &x, &r, &ans, f ) ;
[Input]
x floating point data
r floating point data (Radius of circle)
f the number of decimal places
[Output]
ans floating point data (calculation result)
[Result]
See completion codes in Section F.4.
[Remarks]
For details on the data format, see the previous section on data
formats. For floating point data, see a figure at pl_fasin.