Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8793
| From | "Glen Townsley" <glent@pronamics.com.au> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Where is ASin()? |
| Date | 2015-12-09 04:28 +1000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <n477ib$q75$1@speranza.aioe.org> (permalink) |
| References | <n467u2$d7s$1@dont-email.me> |
I got these quite a long time ago (I can' remember where).
FUNCTION ArcCos( x AS FLOAT ) AS FLOAT // returns the Inverse Cosine of X
(IN radians)
DO CASE
CASE x == 1
RETURN 0
CASE x == -1
RETURN PI
OTHERWISE
RETURN PI / 2 - ATan( x / SQRT( 1 - x * x ) )
ENDCASE
RETURN PI / 2 - ATan( x / SQRT( 1 - x * x ) )
FUNCTION ArcSin( x AS FLOAT ) AS FLOAT // returns the Inverse Sine of X (IN
radians)
RETURN ATan( x / SQRT( 1 - x * x ) )
Cheers
Glen
"Martin" wrote in message news:n467u2$d7s$1@dont-email.me...
OK Using Sin Cos and Tan
But I NEED ArcSin
Where is it?
Thanks
Martin
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Where is ASin()? Martin <Martin@spam.spam> - 2015-12-08 09:32 +0000
Re: Where is ASin()? Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-12-08 11:06 +0100
Re: Where is ASin()? "Glen Townsley" <glent@pronamics.com.au> - 2015-12-09 04:28 +1000
Re: Where is ASin()? Martin <Martin@spam.spam> - 2015-12-15 15:00 +0000
Re: Where is ASin()? dlzc <dlzc1@cox.net> - 2015-12-08 12:43 -0800
Re: Where is ASin()? Martin <Martin@spam.spam> - 2015-12-15 15:03 +0000
Re: Where is ASin()? sherlocksoftware@gmail.com - 2015-12-16 01:02 -0800
Re: Where is ASin()? Mathias <mathias.hakansson@consultec.se> - 2015-12-16 04:17 -0800
Re: Where is ASin()? dlzc <dlzc1@cox.net> - 2015-12-16 06:08 -0800
csiph-web