Lines Matching refs:scalb

937     /* ************************ scalb tests ******************************* */
942 failures+=Tests.test("Math.scalb(float,int)",
944 Math.scalb(value, scale_factor), expected);
946 failures+=Tests.test("Math.scalb(float,int)",
948 Math.scalb(-value, scale_factor), -expected);
950 failures+=Tests.test("StrictMath.scalb(float,int)",
952 StrictMath.scalb(value, scale_factor), expected);
954 failures+=Tests.test("StrictMath.scalb(float,int)",
956 StrictMath.scalb(-value, scale_factor), -expected);
966 // Arguments x, where scalb(x,n) is x for any n.
1112 // 1. If the scalb of MAX_VALUEmm is subnormal and *not* exact
1119 // result as the scalb operation.
1129 // scalb is being implemented with multiple floating-point
1149 failures+=Tests.test("Math.scalb(double,int)",
1151 Math.scalb(value, scale_factor), expected);
1153 failures+=Tests.test("Math.scalb(double,int)",
1155 Math.scalb(-value, scale_factor), -expected);
1157 failures+=Tests.test("StrictMath.scalb(double,int)",
1159 StrictMath.scalb(value, scale_factor), expected);
1161 failures+=Tests.test("StrictMath.scalb(double,int)",
1163 StrictMath.scalb(-value, scale_factor), -expected);
1174 // Arguments x, where scalb(x,n) is x for any n.
1319 // 1. If the scalb of MAX_VALUEmm is subnormal and *not* exact
1326 // result as the scalb operation.
1336 // scalb is being implemented with multiple floating-point
1426 expected = FpUtils.scalb(1.0f, i - (FloatConsts.SIGNIFICAND_WIDTH-1));
1531 expected = FpUtils.scalb(1.0, i - (DoubleConsts.SIGNIFICAND_WIDTH-1));