Lines Matching refs:sign
987 // If the signs of the operands are different, and the sign of the first
1944 // Simulate sign-extension.
4568 // Work around broken fma implementations for exact zero results: The sign of
4578 // 0.0, the sign of the result is the sign of op1 * op2 before rounding.
4634 // a and b are zero, and the sign differs: return +0.0.
4661 // a and b are zero, and the sign differs: return -0.0.
6208 uint32_t sign;
6211 sign = Float16Sign(op);
6213 sign = FloatSign(op);
6216 sign = DoubleSign(op);
6222 return (sign == 1) ? -0.0 : 0.0;
6225 return (sign == 1) ? kFP64NegativeInfinity : kFP64PositiveInfinity;
6235 overflow_to_inf = (sign == 0);
6238 overflow_to_inf = (sign == 1);
6248 return (sign == 1) ? kFP64NegativeInfinity : kFP64PositiveInfinity;
6250 // Return FPMaxNormal(sign).
6252 return Float16Pack(sign, 0x1f, 0x3ff);
6254 return FloatPack(sign, 0xfe, 0x07fffff);
6257 return DoublePack(sign, 0x7fe, 0x0fffffffffffffl);
6265 sign = Float16Sign(op);
6270 sign = FloatSign(op);
6276 sign = DoubleSign(op);
6313 return Float16Pack(sign, exp_bits, frac_bits);
6317 return FloatPack(sign, exp_bits, frac_bits);
6320 return DoublePack(sign, Bits(result_exp, 10, 0), Bits(fraction, 51, 0));
6459 uint32_t sign;
6461 sign = Float16Sign(op);
6464 result = Float16Pack(sign, exp, 0);
6466 sign = FloatSign(op);
6469 result = FloatPack(sign, exp, 0);
6472 sign = DoubleSign(op);
6475 result = DoublePack(sign, exp, 0);
6527 // bits where the sign and exponent would be. We subtract 12 to
6550 // The bottom bit of src2 controls the sign of the result. Use it to
6551 // conditionally invert the sign of one `fmul` operand.
6587 // determines the sign of the value written to dst.
6614 // than the sign of the floating point number, so use an integer comparison