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

Class IRFloatingPointType

A floating-point type.

Import path

import semmle.code.cpp.ir.IR

Direct supertypes

Indirect supertypes

Inherited fields

Predicates

getBase

Gets the numeric base of the type. Can be either 2 (binary) or 10 (decimal).

getByteSize

Gets the size of the type, in bytes, if known.

getCanonicalLanguageType

Gets a single instance of LanguageType that maps to this IRType.

getDomain

Gets the type domain of the type. Can be RealDomain, ComplexDomain, or ImaginaryDomain.

toString

Gets a textual representation of this type.

Inherited predicates

getIdentityString

Gets a string that uniquely identifies this IRType. This string is often the same as the result of IRType.toString(), but for some types it may be more verbose to ensure uniqueness.

from IRType

Charpred