22 May
2003
22 May
'03
9:40 p.m.
Hello
If there's interest, I could add ArcSin and ArcCos to the runtime library. This would be great!
I've found out that I get more precision by using this self-written function: function ArcSin(x:double):double; const c1=1e-6; begin if abs(x-1)<c1 then ArcSin:=pi/2 else if abs(1+x)<c1 then ArcSin:=-pi/2 else ArcSin:=ArcTan(x/sqrt(1-sqr(x))); end; Regards, Boris