3 #ifndef __MATH_BASE_SAFE_INLINE_C__
4 #define __MATH_BASE_SAFE_INLINE_C__
15 return (
b != 0.0f) ?
a /
b : 0.0f;
20 return (
b != 0.0f) ?
fmodf(
a,
b) : 0.0f;
25 if (
UNLIKELY(
a <= 0.0f || base <= 0.0f)) {
38 return (
a > 0.0f) ? 1.0f /
sqrtf(
a) : 0.0f;
55 if (
UNLIKELY(base < 0.0f && exponent != (
int)exponent)) {
58 return powf(base, exponent);
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position CLAMP
MINLINE float safe_sqrtf(float a)
MINLINE float safe_logf(float a, float base)
MINLINE float safe_acosf(float a)
MINLINE float safe_modf(float a, float b)
MINLINE float safe_powf(float base, float exponent)
MINLINE float safe_divide(float a, float b)
MINLINE float safe_asinf(float a)
MINLINE float safe_inverse_sqrtf(float a)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)