PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Angles bug

Hi,Kornalius
Its written in Help File:

tan returns the tangent of x. If x is greater than or equal to 263, or less than or equal to -263, a loss of significance in the result occurs

tangent doesnt exist only at 90 and 270 degrees (if we pass an angle in degrees from 0 to 360).
And I cant understand what are 263 and -263?
It looks like you lose accuracy after those 2 angles.
tangent(x)=sin(x)/cos(x) we get infinity (and therefore lose accuracy) when cos(x)=0 (90 and 270 degrees) all other angles can be calculated rather accurate:).
The description was taken directly from the microsoft help file. :oops: PPL uses the regular tan() and tanh() functions from C.