Irrlicht 3D Engine
irrMath.h File Reference
#include "IrrCompileConfig.h"
#include "irrTypes.h"
#include <math.h>
#include <float.h>
#include <stdlib.h>
#include <limits.h>

Go to the source code of this file.

Classes

Namespaces

Defines

Functions

Variables


Define Documentation

#define AIR (   x)    (IR(x)&0x7fffffff)

Absolute integer representation of a floating-point value.

Definition at line 357 of file irrMath.h.

#define F32_A_GREATER_B (   a,
 
)    ((a) > (b))

Definition at line 391 of file irrMath.h.

#define F32_AS_S32 (   f)    (*((s32 *) &(f)))

Definition at line 339 of file irrMath.h.

#define F32_AS_U32 (   f)    (*((u32 *) &(f)))

Definition at line 340 of file irrMath.h.

#define F32_AS_U32_POINTER (   f)    ( ((u32 *) &(f)))

Definition at line 341 of file irrMath.h.

#define F32_EQUAL_0 (   n)    ((n) == 0.0f)

Definition at line 390 of file irrMath.h.

#define F32_EQUAL_1 (   n)    ((n) == 1.0f)

Definition at line 389 of file irrMath.h.

#define F32_EXPON_MANTISSA   0x7FFFFFFFU

Definition at line 346 of file irrMath.h.

#define F32_GREATER_0 (   n)    ((n) > 0.0f)

Definition at line 387 of file irrMath.h.

#define F32_GREATER_EQUAL_0 (   n)    ((n) >= 0.0f)

Definition at line 388 of file irrMath.h.

#define F32_LOWER_0 (   n)    ((n) < 0.0f)

Definition at line 385 of file irrMath.h.

#define F32_LOWER_EQUAL_0 (   n)    ((n) <= 0.0f)
#define F32_SIGN_BIT   0x80000000U

Definition at line 345 of file irrMath.h.

#define F32_VALUE_0   0x00000000

Definition at line 343 of file irrMath.h.

#define F32_VALUE_1   0x3f800000

Definition at line 344 of file irrMath.h.

Referenced by irr::core::CMatrix4< T >::isIdentity_integer_base().

#define FLT_MAX   3.402823466E+38F

Definition at line 31 of file irrMath.h.

Referenced by irr::core::strtof10().

#define FLT_MIN   1.17549435e-38F

Definition at line 35 of file irrMath.h.

Referenced by irr::core::CMatrix4< T >::getInverse().

#define IEEE_1_0   0x3f800000

integer representation of 1.0

Definition at line 368 of file irrMath.h.

#define IEEE_255_0   0x437f0000

integer representation of 255.0

Definition at line 370 of file irrMath.h.

#define REALINLINE   inline

Definition at line 399 of file irrMath.h.