Lines Matching defs:sign

50      * to to least significant, sign, exponent, and significand.
53 * [sign|exponent| fractional_significand]
62 * (-1)^sign * 2^(exponent)*(1.fractional_significand)
82 * The 32-bit float format has 1 sign bit, 8 exponent bits, and 23
85 * sign bit, 11 exponent bits, and 52 bits for the significand
91 * (-1)^sign * 2^(E_min)*(0.fractional_significand)
94 * zero bits in the significand; zero can have either sign.
154 * Returns the first floating-point argument with the sign of the
157 * does not require NaN {@code sign} arguments to be treated
163 * @param sign the parameter providing the sign of the result
165 * and the sign of {@code sign}.
170 public static double rawCopySign(double magnitude, double sign) {
171 return Math.copySign(magnitude, sign);
175 * Returns the first floating-point argument with the sign of the
178 * does not require NaN {@code sign} arguments to be treated
184 * @param sign the parameter providing the sign of the result
186 * and the sign of {@code sign}.
191 public static float rawCopySign(float magnitude, float sign) {
192 return Math.copySign(magnitude, sign);
373 // (transducer << (# exponent and sign bits).
443 // (transducer << (# exponent and sign bits).
514 * the same sign as {@code d}.
521 * same sign is returned.
523 * sign is returned.
552 * sign as {@code f}.
559 * same sign is returned.
561 * sign is returned.
593 * magnitude, then a zero with the same sign as {@code start}
599 * same sign as {@code start} is returned.
604 * infinity with same sign as {@code start} is returned.
632 * zero with the same sign as {@code direction} is returned
639 * magnitude, then a zero with the same sign as {@code start}
645 * same sign as {@code start} is returned.
650 * infinity with same sign as {@code start} is returned.
792 * Returns the first floating-point argument with the sign of the
794 * {@code sign} argument is always treated as if it were
798 * @param sign the parameter providing the sign of the result
800 * and the sign of {@code sign}.
806 public static double copySign(double magnitude, double sign) {
807 return StrictMath.copySign(magnitude, sign);
811 * Returns the first floating-point argument with the sign of the
813 * {@code sign} argument is always treated as if it were
817 * @param sign the parameter providing the sign of the result
819 * and the sign of {@code sign}.
824 public static float copySign(float magnitude, float sign) {
825 return StrictMath.copySign(magnitude, sign);