@@ -54,7 +54,7 @@ public static double atan(double x) {
5454 }
5555
5656 public static double atan2 (double y , double x ) {
57- return Math .atan ( x );
57+ return Math .atan2 ( y , x );
5858 }
5959
6060 public static double ceil (double x ) {
@@ -236,4 +236,105 @@ public static int toIntExact(long x) {
236236 public static double toRadians (double x ) {
237237 return Math .toRadians (x );
238238 }
239+
240+ public static long abs (long x ) {
241+ return Math .abs (x );
242+ }
243+
244+ public static int decrementExact (int x ) {
245+ return Math .decrementExact (x );
246+ }
247+
248+ public static long decrementExact (long x ) {
249+ return Math .decrementExact (x );
250+ }
251+
252+ public static int incrementExact (int x ) {
253+ return Math .incrementExact (x );
254+ }
255+
256+ public static long incrementExact (long x ) {
257+ return Math .incrementExact (x );
258+ }
259+
260+ public static long multiplyExact (long x , int y ) {
261+ return Math .multiplyExact (x , y );
262+ }
263+
264+ public static long negateExact (long x ) {
265+ return Math .negateExact (x );
266+ }
267+
268+ public static int negateExact (int x ) {
269+ return Math .negateExact (x );
270+ }
271+
272+ public static int getExponent (float x ) {
273+ return Math .getExponent (x );
274+ }
275+
276+ public static int getExponent (double x ) {
277+ return Math .getExponent (x );
278+ }
279+
280+ public static int floorMod (long x , int y ) {
281+ return Math .floorMod (x , y );
282+ }
283+
284+ public static double cbrt (double x ) {
285+ return Math .cbrt (x );
286+ }
287+
288+ @ SuppressWarnings ("CheckStyle.MethodName" )
289+ public static double IEEEremainder (double x , double y ) {
290+ return Math .IEEEremainder (x , y );
291+ }
292+
293+ public static long floorDiv (long x , int y ) {
294+ return Math .floorDiv (x , y );
295+ }
296+
297+ public static long multiplyFull (int x , int y ) {
298+ return Math .multiplyFull (x , y );
299+ }
300+
301+ public static int absExact (int x ) {
302+ return Math .absExact (x );
303+ }
304+
305+ public static long absExact (long x ) {
306+ return Math .absExact (x );
307+ }
308+
309+ public static double ulp (double x ) {
310+ return Math .ulp (x );
311+ }
312+
313+ public static float ulp (float x ) {
314+ return Math .ulp (x );
315+ }
316+
317+ public static double nextAfter (double x , double direction ) {
318+ return Math .nextAfter (x , direction );
319+ }
320+
321+ public static float nextAfter (float x , double direction ) {
322+ return Math .nextAfter (x , direction );
323+ }
324+
325+ public static double nextUp (double x ) {
326+ return Math .nextUp (x );
327+ }
328+
329+ public static float nextUp (float x ) {
330+ return Math .nextUp (x );
331+ }
332+
333+ public static double nextDown (double x ) {
334+ return Math .nextDown (x );
335+ }
336+
337+ public static float nextDown (float x ) {
338+ return Math .nextDown (x );
339+ }
239340}
0 commit comments