Lines Matching full:rounding
123 // just a few regular cases - general rounding is tested elsewhere
396 // (rounding by SetPrec after SetInt64 using default precision
397 // should be the same as rounding by SetInt64 after setting the
411 // (repeated rounding should be idempotent)
424 // TestFloatRound tests basic rounding.
522 // TestFloatRound24 tests that rounding a float64 to 24 bits
523 // matches IEEE-754 rounding to nearest when converting a
556 // test basic rounding behavior (exhaustive rounding testing is done elsewhere)
591 // test basic rounding behavior (exhaustive rounding testing is done elsewhere)
634 // test basic rounding behavior (exhaustive rounding testing is done elsewhere)
692 // TODO(gri) test basic rounding behavior
862 {"0x1.ffffff0p2147483646", float32(math.Inf(+1)), Above}, // overflow in rounding
932 {"0x1.fffffffffffff8p2147483646", math.Inf(+1), Above}, // overflow in rounding
1158 // and rounding modes.
1260 // and rounding modes.
1563 {4, ToNearestEven, '+', "0x.fp2147483647", "0x.8p2147483643", "+Inf", Above}, // exponent overflow in rounding
1564 {4, AwayFromZero, '+', "0x.fp2147483647", "0x.8p2147483643", "+Inf", Above}, // exponent overflow in rounding
1566 {4, AwayFromZero, '-', "-0x.fp2147483647", "0x.8p2147483644", "-Inf", Below}, // exponent overflow in rounding
1567 {4, ToNearestEven, '-', "-0x.fp2147483647", "0x.8p2147483643", "-Inf", Below}, // exponent overflow in rounding
1609 // For rounding modes ToNegativeInf and ToPositiveInf, rounding is affected
1610 // by the sign of the value to be rounded. Test that rounding happens after
1612 // This test uses specific values that are known to fail if rounding is