Lines Matching defs:sign

105      * same sign as the argument.</ul>
127 * same sign as the argument.</ul>
140 * same sign as the argument.</ul>
163 * same sign as the argument.</ul>
284 * with the same sign as the argument.
287 * same sign as the argument.
306 * zero, its sign is the same as the sign of the first argument.
373 double sign) {
401 if (sign*a > 0.0)
402 result = result + sign;
450 double sign = Math.copySign(1.0, a); // preserve sign info
457 return sign * a; // restore original sign
686 * Returns a {@code double} value with a positive sign, greater
868 * has the same sign as the divisor {@code y}, and
894 * has the same sign as the divisor {@code y}, and
1225 * with the same sign as the argument.
1228 * same sign as the argument.
1277 * same sign as the argument.
1333 * same sign as the argument.
1364 * same sign as the argument.
1376 * Returns the first floating-point argument with the sign of the
1378 * {@code sign} argument is always treated as if it were
1382 * @param sign the parameter providing the sign of the result
1384 * and the sign of {@code sign}.
1387 public static double copySign(double magnitude, double sign) {
1388 return Math.copySign(magnitude, (Double.isNaN(sign)?1.0d:sign));
1392 * Returns the first floating-point argument with the sign of the
1394 * {@code sign} argument is always treated as if it were
1398 * @param sign the parameter providing the sign of the result
1400 * and the sign of {@code sign}.
1403 public static float copySign(float magnitude, float sign) {
1404 return Math.copySign(magnitude, (Float.isNaN(sign)?1.0f:sign));
1459 * magnitude, then a zero with the same sign as {@code start}
1465 * same sign as {@code start} is returned.
1470 * infinity with same sign as {@code start} is returned.
1501 * magnitude, then a zero with the same sign as {@code start}
1507 * same sign as {@code start} is returned.
1512 * infinity with same sign as {@code start} is returned.
1657 * sign as {@code d}.
1663 * same sign is returned.
1665 * sign is returned.
1691 * sign as {@code f}.
1697 * same sign is returned.
1699 * sign is returned.