Searched defs:atan2 (Results 1 - 2 of 2) sorted by relevance
/bionic/libm/x86/ |
H A D | e_atan2.S | 36 //1. The method is based on the relationship of atan2(Y,X) to atan(|Y/X|) 39 // atan2(Y,X) = 42 // Thus, atan2(Y,X) is of the form atan2(Y,X) = PI + sgn*atan(|Y/X|) 47 //2. For |Y/X| < 2^(-64), atan(|Y/X|) ~=~ |Y/X|. Hence, atan2(Y,X) is Y/X 49 //3. For |Y/X| >= 2^(65), atan(|Y/X|) ~=~ pi/2. Hence atan2(Y,X) is sign(Y)pi/2. 66 // atan2(+-0, +0) = +-0 67 // atan2(+-0, -0) = +-pi 68 // atan2(+-0, x) = +-0, for x > 0, and +-pi, for x < 0 69 // atan2( 95 ENTRY(atan2) function [all...] |
/bionic/libm/x86_64/ |
H A D | e_atan2.S | 36 //1. The method is based on the relationship of atan2(Y,X) to atan(|Y/X|) 39 // atan2(Y,X) = 42 // Thus, atan2(Y,X) is of the form atan2(Y,X) = PI + sgn*atan(|Y/X|) 47 //2. For |Y/X| < 2^(-64), atan(|Y/X|) ~=~ |Y/X|. Hence, atan2(Y,X) is Y/X 49 //3. For |Y/X| >= 2^(65), atan(|Y/X|) ~=~ pi/2. Hence atan2(Y,X) is sign(Y)pi/2. 66 // atan2(+-0, +0) = +-0 67 // atan2(+-0, -0) = +-pi 68 // atan2(+-0, x) = +-0, for x > 0, and +-pi, for x < 0 69 // atan2( 80 ENTRY(atan2) function [all...] |
Completed in 66 milliseconds