CertC-FLPΒΆ

Floating Point

Nested Rules

CertC-FLP02

Avoid using floating-point numbers when precise computation is needed

CertC-FLP04

Check floating-point inputs for exceptional values

CertC-FLP06

Convert integers to floating point for floating-point operations

CertC-FLP07

Cast the return value of a function that returns a floating-point type

CertC-FLP30

Do not use floating-point variables as loop counters

CertC-FLP32

Prevent or detect domain and range errors in math functions

CertC-FLP34

Ensure that floating-point conversions are within range of the new type

CertC-FLP36

Preserve precision when converting integral values to floating-point type

CertC-FLP37

Do not use object representations to compare floating-point values

Options