37 #ifndef INCLUDED_IMATHMATH_H
38 #define INCLUDED_IMATHMATH_H
110 T rval( ::
modf (
double(x),&ival));
117 static T fabs (
T x) {return ::fabs (
double(x));}
140 static float modf (
float x,
float *
y) {return ::modff (x, y);}
142 static float sqrt (
float x) {return ::sqrtf (x);}
143 static float ceil (
float x) {return ::ceilf (x);}
144 static float fabs (
float x) {return ::fabsf (x);}
145 static float floor (
float x) {return ::floorf (x);}
147 #if !defined(_MSC_VER)
150 static float hypot (
float x,
float y) {return ::sqrtf(x*x + y*y);}
194 return ((x1 > x2)? x1 - x2: x2 - x1) <= e;
202 return ((x1 > x2)? x1 - x2: x2 - x1) <= e * ((x1 > 0)? x1: -x1);
208 #endif // INCLUDED_IMATHMATH_H
#define IMATH_INTERNAL_NAMESPACE_HEADER_EXIT
SYS_API float acosf(float x)
SYS_API double cos(double x)
SYS_API float coshf(float x)
SYS_API double fmod(double x, double y)
SYS_API double atan2(double y, double x)
SYS_API float expf(float x)
static float ceil(float x)
#define IMATH_INTERNAL_NAMESPACE_HEADER_ENTER
static float atan(float x)
static float tan(float x)
static float cos(float x)
vfloat4 sqrt(const vfloat4 &a)
bool equalWithRelError(T x1, T x2, T e)
SYS_API float atan2f(float y, float x)
SYS_API float powf(float x, float y)
SYS_API double log10(double x)
static float sinh(float x)
static float pow(float x, float y)
SYS_API float sinf(float x)
SYS_API float log10f(float x)
ImageBuf OIIO_API pow(const ImageBuf &A, cspan< float > B, ROI roi={}, int nthreads=0)
SYS_API float hypotf(float x, float y)
static float log10(float x)
SYS_API double asin(double x)
SYS_API double sinh(double x)
GLuint GLfloat GLfloat GLfloat x1
SYS_API float atanf(float x)
static float floor(float x)
SYS_API double cosh(double x)
static float log(float x)
SYS_API float logf(float x)
SYS_API double acos(double x)
SYS_API double hypot(double x, double y)
static float asin(float x)
static float sqrt(float x)
static float sin(float x)
SYS_API double tanh(double x)
SYS_API double tan(double x)
SYS_API float fmodf(float x, float y)
static float modf(float x, float *y)
static float exp(float x)
static float acos(float x)
SYS_API float sinhf(float x)
static float cosh(float x)
static float hypot(float x, float y)
SYS_API double atan(double x)
static float tanh(float x)
static float fabs(float x)
SYS_API float asinf(float x)
SYS_API float tanf(float x)
static float atan2(float x, float y)
static float fmod(float x, float y)
static T modf(T x, T *iptr)
SYS_API float tanhf(float x)
SYS_API float cosf(float x)
SYS_API double sin(double x)
bool equalWithAbsError(T x1, T x2, T e)