From d4d31af7400b3ef1c77ac70bc0a433aeb8b1f450 Mon Sep 17 00:00:00 2001 From: Timofey Lagutin Date: Sat, 11 Oct 2014 12:05:40 +0400 Subject: [PATCH] Added missing cp/avian/Math.atan2(double,double) It was implemented as native function, but wasn't added to java.lang.Math. --- classpath/java/lang/Math.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classpath/java/lang/Math.java b/classpath/java/lang/Math.java index da22694810..f84e789eec 100644 --- a/classpath/java/lang/Math.java +++ b/classpath/java/lang/Math.java @@ -113,6 +113,8 @@ public final class Math { public static native double atan(double v); + public static native double atan2(double y, double x); + public static native double sqrt(double v); public static native double pow(double v, double e);