4 ms·
Indeed, (-1, 0) can not be reached. I'm thinking of ways to improve it that regard.
by grondilu 10y ago
Indeed, (-1, 0) can not be reached. I'm thinking of ways to improve it that regard.
- jacobolus 10y agoThis is a stereographic projection representation of an angle. The number should be seen as a point on the real projective line, which includes a point at infinity. If you’re using floating point, you can use the number ∞ for this. You’ll need some special cases in the code for it. Cf. https://en.wikipedia.org/wiki/Stereographic_projection https://en.wikipedia.org/wiki/Stereographic_projection https://en.wikipedia.org/wiki/Tangent_half-angle_substitution https://en.wikipedia.org/wiki/Tangent_half-angle_substitutio... https://en.wikipedia.org/wiki/Real_projective_line https://en.wikipedia.org/wiki/Real_projective_line