[7488] in Athena Bugs
rt 7.2R: kcl
daemon@ATHENA.MIT.EDU (twright@ATHENA.MIT.EDU)
Mon Apr 29 14:40:58 1991
From: twright@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Mon, 29 Apr 91 14:40:17 EDT
System name: w20-575-6
Type and version: RTPC-ROMPC 7.2R
Display type: apa16
What were you trying to do?
Use the asin function in KCL.
What's wrong:
asin sometimes returns a complex number when asin is given a real
argument.
What should have happened:
asin should always map real arguments into real output.
Please describe any relevant documentation references:
XLIB>(asin (/ 1 68))
0.01470641S0
XLIB>(asin (/ 1 67))
#C(0.01492593S0 2.980232S-8)
XLIB>(asin (/ 1 66))
0.0151521S0
0.01492593 appears to be the correct answer for (asin (/ 1 67)).