Hello
It seems there is no asin() function available in Nasal.
Also there is no atan() function and only atan2().
Can somebody point me to how I do a asin() in Nasal ?
Thanks
Mike-DE
mhab wrote in Wed Jun 18, 2014 10:07 pm:but there is no atan(), so how to do it with atan2() ?
Necolatis wrote in Wed Jun 18, 2014 10:01 pm:atan(x) = sin(x)/cos(x)
Why not use the formula I described above, not sure how to do it with atan2, but with sin and cos is simple.
mhab wrote in Thu Jun 19, 2014 12:09 pm:To implement a Nasal extension without documenting it is almost like it's not there.
mhab wrote in Thu Jun 19, 2014 12:09 pm:To implement a Nasal extension without documenting it is almost like it's not there.
On the level of a Nasal user it cannot be expected to check C-source code in order to find out what is available in Nasal.
So please keep in mind, if something shall be useful for the community it needs to be documented.
Users browsing this forum: No registered users and 4 guests