• MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    boot_wb wrote:
    Quote:

    bigfoot wrote:

    Since both atan and tan would simply result in external function calls, this should work fine already :P However I'm probably missing a joke somewhere... ;)


    Damn. Note to self: maths jokes are never funny. :P
    Tan(pi/2) approaches infinity at a steep curve, and as such is very dependent upon precise values of Pi. Reversing the function tends to show up any rounding errors of the value of pi used.


    Well, it's still limited by the capabilities of IEEE double precision floats, so you won't get any better precision than what doing the equivalent in C would give you... Unless you find some big number Javascript library somewhere :)
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »14.05.14 - 13:25
    Profile Visit Website