NN_FLOAT_ASSERT

NN_FLOAT_ASSERT Macro

Syntax

#include <nn/assert.h>

#define NN_FLOAT_ASSERT(exp)

Parameters

Name Description
in exp Value to be tested.

Description

Tests whether the specified value is a valid floating point value.

Stops program execution if exp is other than a floating point value in the range given by the minimum and maximum allowed values. Execution stops if exp is nonnumeric or infinite.

For common specifications of assert-type macros, see NN_ASSERT.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL