Searched refs:atan2 (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Dw_atan2.c28 * wrapper atan2(y,x)
35 double atan2(double y, double x) /* wrapper atan2 */ function
37 double atan2(y,x) /* wrapper atan2 */
48 return __kernel_standard(y,x,3); /* atan2(+-0,+-0) */
/openjdk7/jdk/test/java/lang/Math/
H A DAtan2Tests.java27 * @summary Tests for {Math, StrictMath}.atan2
36 failures += Tests.test("StrictMath.atan2(double, double)", input1, input2,
37 StrictMath.atan2(input1, input2), expected);
38 failures += Tests.test("Math.atan2(double, double)", input1, input2,
39 Math.atan2(input1, input2), expected);
64 System.err.println("Testing atan2 incurred "
/openjdk7/jdk/test/java/io/Serializable/noSuchFieldClarification/
H A DNoSuchFieldClarification.java47 this.angle = Math.atan2(y, x);
77 angle = Math.atan2(y, x);
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/
H A Djfdlibm.h41 #define atan2 jatan2 macro
H A Dfdlibm.h120 extern double atan2 __P((double, double));
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltMath.java244 * The math:atan2 function returns the angle ( in radians ) from the X axis to a point (y,x).
250 public static double atan2(double num1, double num2) method in class:ExsltMath
252 return Math.atan2(num1, num2);
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DArc2D.java880 double ang1 = Math.atan2(p1.getY() - p2.getY(),
882 double ang2 = Math.atan2(p3.getY() - p2.getY(),
947 setAngleStart(-Math.toDegrees(Math.atan2(dy, dx)));
973 double ang1 = Math.atan2(w * (y - y1), h * (x1 - x));
974 double ang2 = Math.atan2(w * (y - y2), h * (x2 - x));
1203 boolean inarc = containsAngle(-Math.toDegrees(Math.atan2(normy,
/openjdk7/jdk/src/share/classes/java/lang/
H A DMath.java498 public static double atan2(double y, double x) { method in class:Math
499 return StrictMath.atan2(y, x); // default impl. delegates to StrictMath
H A DStrictMath.java56 * {@code cbrt}, {@code atan2}, {@code pow},
490 public static native double atan2(double y, double x); method in class:StrictMath
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkBuilder.cpp179 // symbols in the standard libraries (eg, atan2, fabs) and would
296 Value* SharkBuilder::atan2() { function in class:SharkBuilder
297 return make_function((address) ::atan2, "dd", "d");
H A DsharkBuilder.hpp133 llvm::Value* atan2();
H A DsharkIntrinsics.cpp109 do_Math_2to1(builder()->atan2());
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DDiagramConnectionWidget.java196 g2.rotate(Math.atan2(yOff, xOff));
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmssm.c137 a = (atan2(y, x) * 180.0) / M_PI;
H A Dcmspcs.c339 // Auxiliar: atan2 but operating in degrees and returning 0 if a==b==0
348 h = atan2(a, b);
/openjdk7/hotspot/test/compiler/8005956/
H A DPolynomialRoot.java665 final double th=Math.atan2(SQ,-qd2);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java351 double angle = Math.toDegrees(Math.atan2(pt.y, pt.x));

Completed in 61 milliseconds