arcsin
| Definition: | atom x2 = arcsin(atom x1) |
| Description: | Return an angle with sine equal to x1. |
| Comments: | The argument, x1, must be in the range -1 to +1 inclusive.
A value between -PI/2 and +PI/2 (radians) will be returned. Multiply by CD_RAD2DEG (defined in pGUI as 180/PI) to convert to degrees. This function may be applied to an atom or sq_arcsin() to all elements of a sequence. The rules for sequence operations apply. arcsin() is not as fast as arctan(). |
| Example: |
s = arcsin(1) -- s is 1.570796327 |
| Implementation: | See builtins\misc.e (an autoinclude) for details of the actual implementation. |
| See Also: | sin, arccos, arctan |