/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | FpUtils.java | 1174 * 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/jdk/src/share/classes/java/lang/ |
H A D | Integer.java | 1215 * 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 D | Long.java | 1171 * 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
|
H A D | Math.java | 997 * Returns the signum function of the argument; zero if the argument 1008 * @param d the floating-point value whose signum is to be returned 1009 * @return the signum function of the argument 1013 public static double signum(double d) { method in class:Math 1014 return sun.misc.FpUtils.signum(d); 1018 * Returns the signum function of the argument; zero if the argument 1029 * @param f the floating-point value whose signum is to be returned 1030 * @return the signum function of the argument 1034 public static float signum(float f) { method in class:Math 1035 return sun.misc.FpUtils.signum( [all...] |
H A D | StrictMath.java | 989 * Returns the signum function of the argument; zero if the argument 1000 * @param d the floating-point value whose signum is to be returned 1001 * @return the signum function of the argument 1005 public static double signum(double d) { method in class:StrictMath 1006 return sun.misc.FpUtils.signum(d); 1010 * Returns the signum function of the argument; zero if the argument 1021 * @param f the floating-point value whose signum is to be returned 1022 * @return the signum function of the argument 1026 public static float signum(float f) { method in class:StrictMath 1027 return sun.misc.FpUtils.signum( [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | DurationImpl.java | 152 protected int signum; field in class:DurationImpl 198 return signum; 208 if ((years == null || years.signum() == 0) 209 && (months == null || months.signum() == 0) 210 && (days == null || days.signum() == 0) 211 && (hours == null || hours.signum() == 0) 212 && (minutes == null || minutes.signum() == 0) 213 && (seconds == null || seconds.signum() == 0)) { 261 this.signum = calcSignum(isPositive); 291 if (n != null && n.signum() < 1767 sanitize(BigInteger value, int signum) argument 1785 sanitize(BigDecimal value, int signum) argument 1878 public int signum() { method in class:DurationImpl [all...] |
H A D | XMLGregorianCalendarImpl.java | 2051 int signum = duration.getSign(); 2059 BigInteger dMonths = sanitize(duration.getField(DatatypeConstants.MONTHS), signum); 2073 BigInteger dYears = sanitize(duration.getField(DatatypeConstants.YEARS), signum); 2098 BigDecimal dSeconds = DurationImpl.sanitize((BigDecimal) duration.getField(DatatypeConstants.SECONDS), signum); 2129 BigInteger dMinutes = sanitize(duration.getField(DatatypeConstants.MINUTES), signum); 2145 BigInteger dHours = sanitize(duration.getField(DatatypeConstants.HOURS), signum); 2180 BigInteger dDays = sanitize(duration.getField(DatatypeConstants.DAYS), signum); 2330 * <th>{@link #getEonAndYear()}<code>.signum() < 0 ? GregorianCalendar.BC : GregorianCalendar.AD</code></th> 2409 result.set(Calendar.ERA, year.signum() == -1 ? GregorianCalendar.BC : GregorianCalendar.AD); 2548 result.set(Calendar.ERA, year.signum() 3076 sanitize(Number value, int signum) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | IDLJavaSerializationOutputStream.java | 417 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 D | CDROutputStream_1_0.java | 1641 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/jdk/src/share/classes/java/math/ |
H A D | BigDecimal.java | 1115 return (fst.signum == snd.signum) ? 1146 boolean lhsIsZero = lhs.signum() == 0; 1147 boolean augendIsZero = augend.signum() == 0; 1248 small = BigDecimal.valueOf(small.signum(), 1439 qsign = (ldivisor < 0) ? -bdividend.signum : bdividend.signum; 1444 qsign = (bdividend.signum != bdivisor.signum) ? -1 : 1; 1584 if (divisor.signum() 2153 public int signum() { method in class:BigDecimal 2885 getValueString(int signum, String intString, int scale) argument [all...] |
H A D | BigInteger.java | 101 * The signum of this BigInteger: -1 for negative, 0 for zero, or 103 * a signum of 0. This is necessary to ensures that there is exactly one 108 final int signum; field in class:BigInteger 194 signum = -1; 197 signum = (mag.length == 0 ? 0 : 1); 213 signum = -1; 216 signum = (mag.length == 0 ? 0 : 1); 222 * BigInteger. The sign is represented as an integer signum value: -1 for 226 * result in a BigInteger value of 0, whether signum is -1, 0 or 1. 228 * @param signum signu 236 BigInteger(int signum, byte[] magnitude) argument 257 BigInteger(int signum, int[] magnitude) argument 923 BigInteger(int[] magnitude, int signum) argument 932 BigInteger(byte[] magnitude, int signum) argument 1537 public int signum() { method in class:BigInteger [all...] |