Searched refs:signum (Results 26 - 42 of 42) sorted by relevance

12

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DIDLJavaSerializationOutputStream.java417 this.write_fixed(bigDecimal.toString(), bigDecimal.signum());
421 private void write_fixed(String string, int signum) { argument
464 if (signum == -1) {
689 this.write_fixed(stringBuffer.toString(), bigDecimal.signum());
H A DCDROutputStream_1_0.java1641 this.write_fixed(stringBuffer.toString(), bigDecimal.signum());
1648 this.write_fixed(bigDecimal.toString(), bigDecimal.signum());
1652 public void write_fixed(String string, int signum) { argument
1690 if (signum == -1) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/
H A DExpression.java103 // a signum (sign-number = 1, -1) and a magnitude. To support "long long",
105 // such. During the evaluation of an integer expression, the signum of its
108 // (signum=-1) and the target type is unsigned; or [Case 2] if the resulting
109 // value is positive (signum=1) and greater than 2**(target-type-length - 1),
114 // In this example, the signum toggles and the magnatude is 6. If the target
203 if (b != null && b.signum () == -1)
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyPairGenerator.java212 if (x.signum() > 0 && (x.compareTo(q) < 0)) {
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFpUtils.java1174 * Returns the signum function of the argument; zero if the argument
1185 * @param d the floating-point value whose signum is to be returned
1186 * @return the signum function of the argument
1190 public static double signum(double d) { method in class:FpUtils
1195 * Returns the signum function of the argument; zero if the argument
1206 * @param f the floating-point value whose signum is to be returned
1207 * @return the signum function of the argument
1211 public static float signum(float f) { method in class:FpUtils
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DAssertionSet.java88 return Math.round(Math.signum(pa1.hashCode() - pa2.hashCode()));
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSACore.java160 if (mtmp.signum() < 0) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/
H A DAPTNavigator.java539 diff = Long.signum((long) p1.column() - (long) p2.column());
546 return (Long.signum((long) System.identityHashCode(d1) -
/openjdk7/jdk/src/share/classes/java/lang/
H A DInteger.java1215 * Returns the signum function of the specified {@code int} value. (The
1219 * @return the signum function of the specified {@code int} value.
1222 public static int signum(int i) { method in class:Integer
H A DLong.java1171 * Returns the signum function of the specified {@code long} value. (The
1175 * @return the signum function of the specified {@code long} value.
1178 public static int signum(long i) { method in class:Long
/openjdk7/jdk/test/java/lang/Math/
H A DIeeeRecommendedTests.java1623 failures+=Tests.test("Math.signum(float)",
1624 testCases[i][0], Math.signum(testCases[i][0]), testCases[i][1]);
1625 failures+=Tests.test("StrictMath.signum(float)",
1626 testCases[i][0], StrictMath.signum(testCases[i][0]), testCases[i][1]);
1657 failures+=Tests.test("Math.signum(double)",
1658 testCases[i][0], Math.signum(testCases[i][0]), testCases[i][1]);
1659 failures+=Tests.test("StrictMath.signum(double)",
1660 testCases[i][0], StrictMath.signum(testCases[i][0]), testCases[i][1]);
/openjdk7/hotspot/test/compiler/8005956/
H A DPolynomialRoot.java678 final double v1=Math.signum(r1)*Math.pow(Math.abs(r1),1.0/3),
679 v2=Math.signum(r2)*Math.pow(Math.abs(r2),1.0/3),
/openjdk7/jdk/src/share/classes/java/util/
H A DFormatter.java3120 boolean neg = value.signum() == -1;
3168 trailingSign(sb, (value.signum() == -1));
3504 boolean neg = value.signum() == -1;
/openjdk7/jdk/src/share/classes/java/text/
H A DDecimalFormat.java729 boolean isNegative = number.signum() == -1;
784 boolean isNegative = number.signum() == -1;
891 * relations such as signum(1/x) = signum(x), where x is +Infinity or
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftVoice.java643 note_delta = Math.signum(note_delta)
H A DEmergencySoundbank.java2482 * Math.signum(data[i]);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/
H A DTypeCodeImpl.java2252 if (value.signum() == -1)

Completed in 108 milliseconds

12