Skip to content

Commit 2d63341

Browse files
committed
Remove floating point bounds
1 parent 3a233cc commit 2d63341

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cpp/ql/lib/semmle/code/cpp/rangeanalysis/RangeAnalysisUtils.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,6 @@ private predicate typeBounds(ArithmeticType t, QlBuiltins::BigInt lb, QlBuiltins
407407
lb = 0.toBigInt() and ub = limit - 1.toBigInt()
408408
)
409409
)
410-
or
411-
// This covers all floating point types. The range is (-Inf, +Inf).
412-
t instanceof FloatingPointType and lb = -infinityAsBigInt() and ub = infinityAsBigInt()
413410
}
414411

415412
private Type stripReference(Type t) {

0 commit comments

Comments
 (0)