ArcSin ArcCos ArcTan
- Are these in the works for the next build? I have a piece of software that I am working on that relies on them but there is no way that I can think of to easily get arcsin. Thanks.Elliot Block
Respuestas
- This subject has already been discussed here : http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/b2eb4155-ccc5-4cdc-b84b-3d920d6e481e
Currently, you either can use the Taylor Series to "emulate" an ArcTan function or use an extension.
For usual need, I recommend you to use Taylor Series (see link given by Grzegorz)
Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension- Propuesto como respuestaFremyCompanyUsuario que respondemartes, 30 de junio de 2009 6:54
- Marcado como respuestalitdevUsuario que respondejueves, 16 de julio de 2009 21:39
Todas las respuestas
- You can find algorithm there: http://www.mathonweb.com/help_ebook/html/algorithms.htm
Grzesio- Propuesto como respuestaFremyCompanyUsuario que respondemartes, 30 de junio de 2009 6:52
- This subject has already been discussed here : http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/b2eb4155-ccc5-4cdc-b84b-3d920d6e481e
Currently, you either can use the Taylor Series to "emulate" an ArcTan function or use an extension.
For usual need, I recommend you to use Taylor Series (see link given by Grzegorz)
Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension- Propuesto como respuestaFremyCompanyUsuario que respondemartes, 30 de junio de 2009 6:54
- Marcado como respuestalitdevUsuario que respondejueves, 16 de julio de 2009 21:39
- Since a Taylor series is a calculus topic, I seriously suggest adding these basic functions to the compiler. You might want an arctan2 function also that does a 4 quadrant, great for determining heading to something.
Since a Taylor series is a calculus topic, I seriously suggest adding these basic functions to the compiler. You might want an arctan2 function also that does a 4 quadrant, great for determining heading to something.
Fully agree. I added those in my extension, for my own usage, but that should be included in SmallBasic...
Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension

