CodeQL library for C/C++
codeql/cpp-all 9.0.0 (changelog, source)
Search

Predicate widenUpperBound

Gets the widened upper bound for a given type and upper bound.

Import path

import semmle.code.cpp.rangeanalysis.SimpleRangeAnalysis
float widenUpperBound(Type type, float ub)