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

Predicate hasFloatingPointType

Holds if an IRFloatingPointType with the specified size, base, and type domain should exist.

Import path

import semmle.code.cpp.ir.internal.CppType
predicate hasFloatingPointType(int byteSize, int base, TypeDomain domain)