Lines Matching refs:magnitude

193      * @param magnitude  the parameter providing the magnitude of the result
195 * @return a value with the magnitude of {@code magnitude}
199 public static double rawCopySign(double magnitude, double sign) {
202 (Double.doubleToRawLongBits(magnitude) &
216 * @param magnitude the parameter providing the magnitude of the result
218 * @return a value with the magnitude of {@code magnitude}
222 public static float rawCopySign(float magnitude, float sign) {
225 (Float.floatToRawIntBits(magnitude) &
260 * large in magnitude, {@code false} otherwise.
276 * large in magnitude, {@code false} otherwise.
601 // magnitude of a power of two so large that scaling a finite
672 // magnitude of a power of two so large that scaling a finite
712 * magnitude, then a zero with the same sign as {@code start}
717 * have a smaller magnitude, {@code Double.MAX_VALUE} with the
722 * value such that the result should have a larger magnitude, an
759 * ordered if treated as signed- magnitude integers .
763 * the signed-magnitude representation. Therefore, when
783 * signed magnitude value must be done
812 * magnitude, then a zero with the same sign as {@code start}
817 * have a smaller magnitude, {@code Float.MAX_VALUE} with the
822 * value such that the result should have a larger magnitude, an
859 * ordered if treated as signed- magnitude integers .
863 * the signed-magnitude representation. Therefore, when
883 * signed magnitude value must be done
1044 * @param magnitude the parameter providing the magnitude of the result
1046 * @return a value with the magnitude of {@code magnitude}
1051 public static double copySign(double magnitude, double sign) {
1052 return rawCopySign(magnitude, (isNaN(sign)?1.0d:sign));
1061 * @param magnitude the parameter providing the magnitude of the result
1063 * @return a value with the magnitude of {@code magnitude}
1067 public static float copySign(float magnitude, float sign) {
1068 return rawCopySign(magnitude, (isNaN(sign)?1.0f:sign));
1075 * larger in magnitude. Note that for non-NaN <i>x</i>,
1126 * larger in magnitude. Note that for non-NaN <i>x</i>,