APLX Help : Help on APL language : APL Primitives : ○ Circular functions




Twoargument form See also oneargument form pi times This form of Left argument 0 or positive Left argument negative 0 square root of 1X*2 1 sin X ¯1 arcsin X 2 cos X ¯2 arccos X 3 tan X ¯3 arctan X 4 square root of (X*2)+1 ¯4 square root of (X*2)1 5 sinh X ¯5 arcsinh X 6 cosh X ¯6 arcosh X 7 tanh X ¯7 arctanh X For example: 1 ○ ○÷4 (45 degrees is ○÷4 radians and 0.7071067812 Sin of 45 degrees is 1÷root 2) The functions Numeric AccuracyCalculations of trigonometric functions are subject to accuracy limitations, especially near mathematical singularities. In addition, for very large arguments, the circular functions become meaningless because of limitations in the resolution of floatingpoint numbers, since the 'correct' answer depends on bits which have been lost from the representation. For these reasons, APLX gives a DOMAIN ERROR if you ask for the sine, cosine or tangent of a number greater than 

APLX Help : Help on APL language : APL Primitives : ○ Circular functions

Copyright © 19962010 MicroAPL Ltd