diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 17:14:29 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 17:14:29 +0000 |
commit | d5a51bb3e23d43b2a4dfc4a0f4b1ce8b89aa9d46 (patch) | |
tree | 81b31b0486891970a421212090c68947039d0701 /libjava/java/lang/Math.java | |
parent | dac49aa5c53ad15cdab5f898160dbe72708c98d3 (diff) | |
download | gcc-d5a51bb3e23d43b2a4dfc4a0f4b1ce8b89aa9d46.tar.gz |
2004-10-22 Michael Koch <konqueror@gmx.de>
* java/lang/Math.java
* java/lang/StackTraceElement.java
* java/nio/Buffer.java
* java/nio/ByteBuffer.java
* java/nio/CharBuffer.java
* java/nio/DoubleBuffer.java
* java/nio/FloatBuffer.java
* java/nio/IntBuffer.java
* java/nio/LongBuffer.java
* java/nio/ShortBuffer.java
* java/nio/charset/Charset.java
* java/rmi/server/RMIClassLoader.java
* java/rmi/server/RMISocketFactory.java
* java/security/Policy.java
* java/text/ChoiceFormat.java
* java/text/CollationElementIterator.java
* java/text/DateFormat.java
* java/text/DecimalFormat.java
* java/text/DecimalFormatSymbols.java
* java/text/MessageFormat.java
* java/text/NumberFormat.java
* java/text/RuleBasedCollator.java
* java/text/SimpleDateFormat.java
* java/util/BitSet.java
* java/util/Calendar.java
* java/util/Collections.java
* java/util/IdentityHashMap.java
* java/util/Locale.java
* java/util/TreeMap.java
* java/util/logging/LogRecord.java
* java/util/logging/XMLFormatter.java
* java/util/prefs/AbstractPreferences.java
* java/util/prefs/Preferences.java
* javax/crypto/interfaces/DHPrivateKey.java
* javax/crypto/interfaces/DHPublicKey.java
* javax/crypto/interfaces/PBEKey.java
* javax/net/ssl/HandshakeCompletedEvent.java
* javax/security/auth/Subject.java
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang/Math.java')
-rw-r--r-- | libjava/java/lang/Math.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libjava/java/lang/Math.java b/libjava/java/lang/Math.java index aac33aa299d..f1f68c4832b 100644 --- a/libjava/java/lang/Math.java +++ b/libjava/java/lang/Math.java @@ -298,7 +298,7 @@ public final class Math * @param a the angle (in radians) * @return sin(a) */ - public native static double sin(double a); + public static native double sin(double a); /** * The trigonometric function <em>cos</em>. The cosine of NaN or infinity is @@ -307,7 +307,7 @@ public final class Math * @param a the angle (in radians) * @return cos(a) */ - public native static double cos(double a); + public static native double cos(double a); /** * The trigonometric function <em>tan</em>. The tangent of NaN or infinity @@ -317,7 +317,7 @@ public final class Math * @param a the angle (in radians) * @return tan(a) */ - public native static double tan(double a); + public static native double tan(double a); /** * The trigonometric function <em>arcsin</em>. The range of angles returned @@ -328,7 +328,7 @@ public final class Math * @param a the sin to turn back into an angle * @return arcsin(a) */ - public native static double asin(double a); + public static native double asin(double a); /** * The trigonometric function <em>arccos</em>. The range of angles returned @@ -339,7 +339,7 @@ public final class Math * @param a the cos to turn back into an angle * @return arccos(a) */ - public native static double acos(double a); + public static native double acos(double a); /** * The trigonometric function <em>arcsin</em>. The range of angles returned @@ -351,7 +351,7 @@ public final class Math * @return arcsin(a) * @see #atan2(double, double) */ - public native static double atan(double a); + public static native double atan(double a); /** * A special version of the trigonometric function <em>arctan</em>, for @@ -400,7 +400,7 @@ public final class Math * @return <em>theta</em> in the conversion of (x, y) to (r, theta) * @see #atan(double) */ - public native static double atan2(double y, double x); + public static native double atan2(double y, double x); /** * Take <em>e</em><sup>a</sup>. The opposite of <code>log()</code>. If the @@ -414,7 +414,7 @@ public final class Math * @see #log(double) * @see #pow(double, double) */ - public native static double exp(double a); + public static native double exp(double a); /** * Take ln(a) (the natural log). The opposite of <code>exp()</code>. If the @@ -430,7 +430,7 @@ public final class Math * @return the natural log of <code>a</code> * @see #exp(double) */ - public native static double log(double a); + public static native double log(double a); /** * Take a square root. If the argument is NaN or negative, the result is @@ -444,7 +444,7 @@ public final class Math * @return the square root of the argument * @see #pow(double, double) */ - public native static double sqrt(double a); + public static native double sqrt(double a); /** * Raise a number to a power. Special cases:<ul> @@ -514,7 +514,7 @@ public final class Math * @param b the power to raise it to * @return a<sup>b</sup> */ - public native static double pow(double a, double b); + public static native double pow(double a, double b); /** * Get the IEEE 754 floating point remainder on two numbers. This is the @@ -530,7 +530,7 @@ public final class Math * @return the IEEE 754-defined floating point remainder of x/y * @see #rint(double) */ - public native static double IEEEremainder(double x, double y); + public static native double IEEEremainder(double x, double y); /** * Take the nearest integer that is that is greater than or equal to the @@ -541,7 +541,7 @@ public final class Math * @param a the value to act upon * @return the nearest integer >= <code>a</code> */ - public native static double ceil(double a); + public static native double ceil(double a); /** * Take the nearest integer that is that is less than or equal to the @@ -551,7 +551,7 @@ public final class Math * @param a the value to act upon * @return the nearest integer <= <code>a</code> */ - public native static double floor(double a); + public static native double floor(double a); /** * Take the nearest integer to the argument. If it is exactly between @@ -561,7 +561,7 @@ public final class Math * @param a the value to act upon * @return the nearest integer to <code>a</code> */ - public native static double rint(double a); + public static native double rint(double a); /** * Take the nearest integer to the argument. This is equivalent to |