@@ -1185,7 +1185,7 @@ class FormatLiteral extends Literal {
11851185 1 + lengthInBase10 ( 2 .pow ( this .getIntegralDisplayType ( n ) .getSize ( ) * 8 - 1 ) ) and
11861186 // The second case uses range analysis to deduce a length that's shorter than the length
11871187 // of the number -2^31.
1188- exists ( Expr arg , float lower , float upper , float typeLower , float typeUpper |
1188+ exists ( Expr arg , float lower , float upper |
11891189 arg = this .getUse ( ) .getConversionArgument ( n ) .getFullyConverted ( ) and
11901190 lower = lowerBound ( arg ) and
11911191 upper = upperBound ( arg )
@@ -1217,12 +1217,10 @@ class FormatLiteral extends Literal {
12171217 typeBasedBound = lengthInBase10 ( 2 .pow ( this .getIntegralDisplayType ( n ) .getSize ( ) * 8 ) - 1 ) and
12181218 // The second case uses range analysis to deduce a length that's shorter than
12191219 // the length of the number 2^31 - 1.
1220- exists ( Expr arg , float lower , float upper , float typeLower , float typeUpper |
1220+ exists ( Expr arg , float lower , float upper |
12211221 arg = this .getUse ( ) .getConversionArgument ( n ) .getFullyConverted ( ) and
12221222 lower = lowerBound ( arg ) and
1223- upper = upperBound ( arg ) and
1224- typeLower = exprMinVal ( arg ) and
1225- typeUpper = exprMaxVal ( arg )
1223+ upper = upperBound ( arg )
12261224 |
12271225 valueBasedBound =
12281226 lengthInBase10 ( max ( float cand |
0 commit comments