@@ -41,6 +41,18 @@ public foreign handler MCMathEvalCosNumber(in Operand as number, out Value as nu
4141public foreign handler MCMathEvalTanReal(in Operand as double, out Value as double) as undefined binds to "<builtin>"
4242public foreign handler MCMathEvalTanNumber(in Operand as number, out Value as number) as undefined binds to "<builtin>"
4343
44+ public foreign handler MCMathEvalAsinReal(in Operand as double, out Value as double) as undefined binds to "<builtin>"
45+ public foreign handler MCMathEvalAsinNumber(in Operand as number, out Value as number) as undefined binds to "<builtin>"
46+
47+ public foreign handler MCMathEvalAcosReal(in Operand as double, out Value as double) as undefined binds to "<builtin>"
48+ public foreign handler MCMathEvalAcosNumber(in Operand as number, out Value as number) as undefined binds to "<builtin>"
49+
50+ public foreign handler MCMathEvalAtanReal(in Operand as double, out Value as double) as undefined binds to "<builtin>"
51+ public foreign handler MCMathEvalAtanNumber(in Operand as number, out Value as number) as undefined binds to "<builtin>"
52+
53+ public foreign handler MCMathEvalAtan2Real(in First as double, in Second as double, out Value as double) as undefined binds to "<builtin>"
54+ public foreign handler MCMathEvalAtan2Number(in First as number, in Second as number, out Value as number) as undefined binds to "<builtin>"
55+
4456public foreign handler MCMathEvalAbsInteger(in Operand as int, out Value as int) as undefined binds to "<builtin>"
4557public foreign handler MCMathEvalAbsReal(in Operand as double, out Value as double) as undefined binds to "<builtin>"
4658public foreign handler MCMathEvalAbsNumber(in Operand as number, out Value as number) as undefined binds to "<builtin>"
@@ -137,6 +149,79 @@ begin
137149 MCMathEvalTanNumber(Operand, output)
138150end syntax
139151
152+ /*
153+ Summary: Arcsin operator.
154+ Operand: An expression that evaluates to a number.
155+
156+ Example:
157+ variable tVar as number
158+ put the arcsin of 1 into tVar -- tVar contains pi / 2
159+
160+ Tags: Math
161+ */
162+
163+ syntax ArcsinOperator is prefix operator with precedence 1
164+ "the" "arcsin" "of" <Operand: Expression>
165+ begin
166+ MCMathEvalAsinNumber(Operand, output)
167+ end syntax
168+
169+ /*
170+ Summary: Arccos operator.
171+ Operand: An expression that evaluates to a number.
172+
173+ Example:
174+ variable tVar as number
175+ put the arccos of -1 into tVar -- tVar contains pi
176+
177+ Tags: Math
178+ */
179+
180+ syntax ArccosOperator is prefix operator with precedence 1
181+ "the" "arccos" "of" <Operand: Expression>
182+ begin
183+ MCMathEvalAcosNumber(Operand, output)
184+ end syntax
185+
186+ /*
187+ Summary: Arctan operator.
188+ Operand: An expression that evaluates to a number.
189+
190+ Example:
191+ variable tVar as number
192+ put the arctan of 1 into tVar -- tVar contains pi / 4
193+
194+ Tags: Math
195+ */
196+
197+ syntax ArctanOperator is prefix operator with precedence 1
198+ "the" "arctan" "of" <Operand: Expression>
199+ begin
200+ MCMathEvalAtanNumber(Operand, output)
201+ end syntax
202+
203+ /*
204+ Summary: Binary arctan operator.
205+ yCoord: An expression that evaluates to a number.
206+ xCoord: An expression that evaluates to a number.
207+
208+ Example:
209+ variable tVar as number
210+ put the arctan of -1,-1 into tVar --tVar contains −3π/4.
211+
212+ Description:
213+ The binary arctan operator returns the angle in radians between the x-axis and the line from the origin to the point (xCoord, yCoord).
214+ The angle returned has absolute value less than pi: −π < arctan2(y, x) ≤ π.
215+
216+ Tags: Math
217+ */
218+
219+ syntax Arctan2Operator is prefix operator with precedence 1
220+ "the" "arctan2" "of" <yCoord: Expression> "," <xCoord: Expression>
221+ begin
222+ MCMathEvalAtan2Number(yCoord, xCoord, output)
223+ end syntax
224+
140225--
141226
142227/*
0 commit comments