Blender V5.0
math_base_safe_inline.cc File Reference

Go to the source code of this file.

Macros

#define __MATH_BASE_SAFE_INLINE_C__

Functions

MINLINE float safe_divide (float a, float b)
MINLINE float safe_modf (float a, float b)
MINLINE float safe_floored_modf (float a, float b)
MINLINE float safe_logf (float a, float base)
MINLINE float safe_sqrtf (float a)
MINLINE float safe_inverse_sqrtf (float a)
MINLINE float safe_asinf (float a)
MINLINE float safe_acosf (float a)
MINLINE float safe_powf (float base, float exponent)

Macro Definition Documentation

◆ __MATH_BASE_SAFE_INLINE_C__

#define __MATH_BASE_SAFE_INLINE_C__

Definition at line 10 of file math_base_safe_inline.cc.

Function Documentation

◆ safe_acosf()

MINLINE float safe_acosf ( float a)

Definition at line 54 of file math_base_safe_inline.cc.

◆ safe_asinf()

MINLINE float safe_asinf ( float a)

Definition at line 48 of file math_base_safe_inline.cc.

◆ safe_divide()

MINLINE float safe_divide ( float a,
float b )

Definition at line 15 of file math_base_safe_inline.cc.

Referenced by safe_logf().

◆ safe_floored_modf()

MINLINE float safe_floored_modf ( float a,
float b )

Definition at line 25 of file math_base_safe_inline.cc.

References b, floorf, and MINLINE.

Referenced by blender::nodes::try_dispatch_float_math_fl_fl_to_fl().

◆ safe_inverse_sqrtf()

MINLINE float safe_inverse_sqrtf ( float a)

Definition at line 43 of file math_base_safe_inline.cc.

References MINLINE, and sqrtf.

Referenced by blender::nodes::try_dispatch_float_math_fl_to_fl().

◆ safe_logf()

MINLINE float safe_logf ( float a,
float base )

Definition at line 30 of file math_base_safe_inline.cc.

◆ safe_modf()

MINLINE float safe_modf ( float a,
float b )

Definition at line 20 of file math_base_safe_inline.cc.

References b, fmodf, and MINLINE.

Referenced by TEST(), and blender::nodes::try_dispatch_float_math_fl_fl_to_fl().

◆ safe_powf()

MINLINE float safe_powf ( float base,
float exponent )

Definition at line 60 of file math_base_safe_inline.cc.

◆ safe_sqrtf()

MINLINE float safe_sqrtf ( float a)

Definition at line 38 of file math_base_safe_inline.cc.