Here you can find the source of atan2(final double y, final double x)
public static final double atan2(final double y, final double x)
//package com.java2s; public class Main { public static final double atan2(final double y, final double x) { return StrictMath.atan2(y, x); }/*w w w . ja va2s. c o m*/ }