STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Functions
cmath File Reference
#include <yvals.h>
#include <math.h>
#include <xtgmath.h>

Macros

#define _CMATH_
 

Functions

_Check_return_ double abs (_In_ double _Xx) _NOEXCEPT
 
_Check_return_ double pow (_In_ double _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ float abs (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float acos (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float acosh (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float asin (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float asinh (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float atan (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float atanh (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float atan2 (_In_ float _Yx, _In_ float _Xx) _NOEXCEPT
 
_Check_return_ float cbrt (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float ceil (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float copysign (_In_ float _Number, _In_ float _Sign) _NOEXCEPT
 
_Check_return_ float cos (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float cosh (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float erf (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float erfc (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float exp (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float exp2 (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float expm1 (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float fabs (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float fdim (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float floor (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float fma (_In_ float _Xx, _In_ float _Yx, _In_ float _Zx) _NOEXCEPT
 
_Check_return_ float fmax (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float fmin (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float fmod (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float frexp (_In_ float _Xx, _Out_ int *_Yx) _NOEXCEPT
 
_Check_return_ float hypot (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ int ilogb (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float ldexp (_In_ float _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ float lgamma (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ long long llrint (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ long long llround (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float log (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float log10 (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float log1p (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float log2 (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float logb (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ long lrint (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ long lround (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float modf (_In_ float _Xx, _Out_ float *_Yx) _NOEXCEPT
 
_Check_return_ float nearbyint (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float nextafter (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float nexttoward (_In_ float _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ float pow (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float pow (_In_ float _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ float remainder (_In_ float _Xx, _In_ float _Yx) _NOEXCEPT
 
_Check_return_ float remquo (_In_ float _Xx, _In_ float _Yx, _Out_ int *_Zx) _NOEXCEPT
 
_Check_return_ float rint (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float round (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float scalbln (_In_ float _Xx, _In_ long _Yx) _NOEXCEPT
 
_Check_return_ float scalbn (_In_ float _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ float sin (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float sinh (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float sqrt (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float tan (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float tanh (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float tgamma (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ float trunc (_In_ float _Xx) _NOEXCEPT
 
_Check_return_ long double abs (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double acos (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double acosh (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double asin (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double asinh (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double atan (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double atanh (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double atan2 (_In_ long double _Yx, _In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double cbrt (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double ceil (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double copysign (_In_ long double _Number, _In_ long double _Sign) _NOEXCEPT
 
_Check_return_ long double cos (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double cosh (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double erf (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double erfc (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double exp (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double exp2 (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double expm1 (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double fabs (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double fdim (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double floor (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double fma (_In_ long double _Xx, _In_ long double _Yx, _In_ long double _Zx) _NOEXCEPT
 
_Check_return_ long double fmax (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double fmin (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double fmod (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double frexp (_In_ long double _Xx, _Out_ int *_Yx) _NOEXCEPT
 
_Check_return_ long double hypot (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ int ilogb (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double ldexp (_In_ long double _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ long double lgamma (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long long llrint (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long long llround (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double log (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double log10 (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double log1p (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double log2 (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double logb (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long lrint (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long lround (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double modf (_In_ long double _Xx, _Out_ long double *_Yx) _NOEXCEPT
 
_Check_return_ long double nearbyint (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double nextafter (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double nexttoward (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double pow (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double pow (_In_ long double _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ long double remainder (_In_ long double _Xx, _In_ long double _Yx) _NOEXCEPT
 
_Check_return_ long double remquo (_In_ long double _Xx, _In_ long double _Yx, _Out_ int *_Zx) _NOEXCEPT
 
_Check_return_ long double rint (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double round (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double scalbln (_In_ long double _Xx, _In_ long _Yx) _NOEXCEPT
 
_Check_return_ long double scalbn (_In_ long double _Xx, _In_ int _Yx) _NOEXCEPT
 
_Check_return_ long double sin (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double sinh (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double sqrt (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double tan (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double tanh (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double tgamma (_In_ long double _Xx) _NOEXCEPT
 
_Check_return_ long double trunc (_In_ long double _Xx) _NOEXCEPT
 

Macro Definition Documentation

#define _CMATH_

Function Documentation

_Check_return_ double abs ( _In_ double  _Xx)
inline
18  {
19  return (_CSTD fabs(_Xx));
20  }
_Check_return_ float fabs(_In_ float _Xx) _NOEXCEPT
Definition: cmath:121
#define _CSTD
Definition: yvals.h:570
_Check_return_ float abs ( _In_ float  _Xx)
inline
31  {
32  return (_CSTD fabsf(_Xx));
33  }
float fabsf(float _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp_math.h:227
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double abs ( _In_ long double  _Xx)
inline
329  {
330  return (_CSTD fabsl(_Xx));
331  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float acos ( _In_ float  _Xx)
inline
36  {
37  return (_CSTD acosf(_Xx));
38  }
float acosf(float _X) __GPU_ONLY
Calculates the arccosine of the argument
Definition: amp_math.h:255
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double acos ( _In_ long double  _Xx)
inline
334  {
335  return (_CSTD acosl(_Xx));
336  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float acosh ( _In_ float  _Xx)
inline
41  {
42  return (_CSTD acoshf(_Xx));
43  }
#define _CSTD
Definition: yvals.h:570
float acoshf(float _X) __GPU_ONLY
Calculates the inverse hyperbolic cosine of the argument
Definition: amp_math.h:1309
_Check_return_ long double acosh ( _In_ long double  _Xx)
inline
339  {
340  return (_CSTD acoshl(_Xx));
341  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float asin ( _In_ float  _Xx)
inline
46  {
47  return (_CSTD asinf(_Xx));
48  }
float asinf(float _X) __GPU_ONLY
Calculates the arcsine of the argument
Definition: amp_math.h:283
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double asin ( _In_ long double  _Xx)
inline
344  {
345  return (_CSTD asinl(_Xx));
346  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float asinh ( _In_ float  _Xx)
inline
51  {
52  return (_CSTD asinhf(_Xx));
53  }
float asinhf(float _X) __GPU_ONLY
Calculates the inverse hyperbolic sine of the argument
Definition: amp_math.h:1394
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double asinh ( _In_ long double  _Xx)
inline
349  {
350  return (_CSTD asinhl(_Xx));
351  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float atan ( _In_ float  _Xx)
inline
56  {
57  return (_CSTD atanf(_Xx));
58  }
float atanf(float _X) __GPU_ONLY
Calculates the arctangent of the argument
Definition: amp_math.h:311
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double atan ( _In_ long double  _Xx)
inline
354  {
355  return (_CSTD atanl(_Xx));
356  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float atan2 ( _In_ float  _Yx,
_In_ float  _Xx 
)
inline
66  {
67  return (_CSTD atan2f(_Yx, _Xx));
68  }
float atan2f(float _Y, float _X) __GPU_ONLY
Calculates the arctangent of _Y/_X
Definition: amp_math.h:342
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double atan2 ( _In_ long double  _Yx,
_In_ long double  _Xx 
)
inline
365  {
366  return (_CSTD atan2l(_Yx, _Xx));
367  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float atanh ( _In_ float  _Xx)
inline
61  {
62  return (_CSTD atanhf(_Xx));
63  }
float atanhf(float _X) __GPU_ONLY
Calculates the inverse hyperbolic tangent of the argument
Definition: amp_math.h:1530
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double atanh ( _In_ long double  _Xx)
inline
359  {
360  return (_CSTD atanhl(_Xx));
361  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float cbrt ( _In_ float  _Xx)
inline
71  {
72  return (_CSTD cbrtf(_Xx));
73  }
float cbrtf(float _X) __GPU_ONLY
Computes the real cube root of the argument
Definition: amp_math.h:1572
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double cbrt ( _In_ long double  _Xx)
inline
370  {
371  return (_CSTD cbrtl(_Xx));
372  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float ceil ( _In_ float  _Xx)
inline
76  {
77  return (_CSTD ceilf(_Xx));
78  }
float ceilf(float _X) __GPU_ONLY
Calculates the ceiling of the argument
Definition: amp_math.h:373
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double ceil ( _In_ long double  _Xx)
inline
375  {
376  return (_CSTD ceill(_Xx));
377  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float copysign ( _In_ float  _Number,
_In_ float  _Sign 
)
inline
82  {
83  return (_CSTD copysignf(_Number, _Sign));
84  }
float copysignf(float _X, float _Y) __GPU_ONLY
Produces a value with the magnitude of _X and the sign of _Y
Definition: amp_math.h:1659
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double copysign ( _In_ long double  _Number,
_In_ long double  _Sign 
)
inline
381  {
382  return (_CSTD copysignl(_Number, _Sign));
383  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float cos ( _In_ float  _Xx)
inline
87  {
88  return (_CSTD cosf(_Xx));
89  }
float cosf(float _X) __GPU_ONLY
Calculates the cosine of the argument
Definition: amp_math.h:401
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double cos ( _In_ long double  _Xx)
inline
386  {
387  return (_CSTD cosl(_Xx));
388  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float cosh ( _In_ float  _Xx)
inline
92  {
93  return (_CSTD coshf(_Xx));
94  }
float coshf(float _X) __GPU_ONLY
Calculates the hyperbolic cosine value of the argument
Definition: amp_math.h:429
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double cosh ( _In_ long double  _Xx)
inline
391  {
392  return (_CSTD coshl(_Xx));
393  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float erf ( _In_ float  _Xx)
inline
97  {
98  return (_CSTD erff(_Xx));
99  }
float erff(float _X) __GPU_ONLY
Computes the error function of _X
Definition: amp_math.h:1833
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double erf ( _In_ long double  _Xx)
inline
396  {
397  return (_CSTD erfl(_Xx));
398  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float erfc ( _In_ float  _Xx)
inline
102  {
103  return (_CSTD erfcf(_Xx));
104  }
float erfcf(float _X) __GPU_ONLY
Computes the complementary error function of _X
Definition: amp_math.h:1875
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double erfc ( _In_ long double  _Xx)
inline
401  {
402  return (_CSTD erfcl(_Xx));
403  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float exp ( _In_ float  _Xx)
inline
107  {
108  return (_CSTD expf(_Xx));
109  }
float expf(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument
Definition: amp_math.h:457
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double exp ( _In_ long double  _Xx)
inline
406  {
407  return (_CSTD expl(_Xx));
408  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float exp2 ( _In_ float  _Xx)
inline
112  {
113  return (_CSTD exp2f(_Xx));
114  }
#define _CSTD
Definition: yvals.h:570
float exp2f(float _X) __GPU_ONLY
Calculates the base-2 exponential of the argument
Definition: amp_math.h:485
_Check_return_ long double exp2 ( _In_ long double  _Xx)
inline
411  {
412  return (_CSTD exp2l(_Xx));
413  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float expm1 ( _In_ float  _Xx)
inline
117  {
118  return (_CSTD expm1f(_Xx));
119  }
float expm1f(float _X) __GPU_ONLY
Calculates the base-e exponential of the argument, minus 1
Definition: amp_math.h:2127
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double expm1 ( _In_ long double  _Xx)
inline
416  {
417  return (_CSTD expm1l(_Xx));
418  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float fabs ( _In_ float  _Xx)
inline
122  {
123  return (_CSTD fabsf(_Xx));
124  }
float fabsf(float _X) __GPU_ONLY
Returns the absolute value of the argument
Definition: amp_math.h:227
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double fabs ( _In_ long double  _Xx)
inline
421  {
422  return (_CSTD fabsl(_Xx));
423  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float fdim ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
127  {
128  return (_CSTD fdimf(_Xx, _Yx));
129  }
#define _CSTD
Definition: yvals.h:570
float fdimf(float _X, float _Y) __GPU_ONLY
Determines the positive difference between the arguments
Definition: amp_math.h:2214
_Check_return_ long double fdim ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
427  {
428  return (_CSTD fdiml(_Xx, _Yx));
429  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float floor ( _In_ float  _Xx)
inline
132  {
133  return (_CSTD floorf(_Xx));
134  }
float floorf(float _X) __GPU_ONLY
Calculates the floor of the argument
Definition: amp_math.h:513
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double floor ( _In_ long double  _Xx)
inline
432  {
433  return (_CSTD floorl(_Xx));
434  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float fma ( _In_ float  _Xx,
_In_ float  _Yx,
_In_ float  _Zx 
)
inline
138  {
139  return (_CSTD fmaf(_Xx, _Yx, _Zx));
140  }
float fmaf(float _X, float _Y, float _Z) __GPU_ONLY
Compute (_X * _Y) + _Z, rounded as one ternary operation
Definition: amp_math.h:2312
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double fma ( _In_ long double  _Xx,
_In_ long double  _Yx,
_In_ long double  _Zx 
)
inline
438  {
439  return (_CSTD fmal(_Xx, _Yx, _Zx));
440  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float fmax ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
143  {
144  return (_CSTD fmaxf(_Xx, _Yx));
145  }
#define _CSTD
Definition: yvals.h:570
float fmaxf(float _X, float _Y) __GPU_ONLY
Determine the maximum numeric value of the arguments
Definition: amp_math.h:544
_Check_return_ long double fmax ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
444  {
445  return (_CSTD fmaxl(_Xx, _Yx));
446  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float fmin ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
148  {
149  return (_CSTD fminf(_Xx, _Yx));
150  }
float fminf(float _X, float _Y) __GPU_ONLY
Determine the minimum numeric value of the arguments
Definition: amp_math.h:578
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double fmin ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
450  {
451  return (_CSTD fminl(_Xx, _Yx));
452  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float fmod ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
153  {
154  return (_CSTD fmodf(_Xx, _Yx));
155  }
#define _CSTD
Definition: yvals.h:570
float fmodf(float _X, float _Y) __GPU_ONLY
Calculates the floating-point remainder of _X/_Y
Definition: amp_math.h:612
_Check_return_ long double fmod ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
456  {
457  return (_CSTD fmodl(_Xx, _Yx));
458  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float frexp ( _In_ float  _Xx,
_Out_ int *  _Yx 
)
inline
158  {
159  return (_CSTD frexpf(_Xx, _Yx));
160  }
float frexpf(float _X, _Out_ int *_Exp) __GPU_ONLY
Gets the mantissa and exponent of _X
Definition: amp_math.h:646
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double frexp ( _In_ long double  _Xx,
_Out_ int *  _Yx 
)
inline
462  {
463  return (_CSTD frexpl(_Xx, _Yx));
464  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float hypot ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
163  {
164  return (_CSTD hypotf(_Xx, _Yx));
165  }
#define _CSTD
Definition: yvals.h:570
float hypotf(float _X, float _Y) __GPU_ONLY
Computes the square root of the sum of the squares of _X and _Y
Definition: amp_math.h:2602
_Check_return_ long double hypot ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
468  {
469  return (_CSTD hypotl(_Xx, _Yx));
470  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ int ilogb ( _In_ float  _Xx)
inline
168  {
169  return (_CSTD ilogbf(_Xx));
170  }
int ilogbf(float _X) __GPU_ONLY
Extract the exponent of _X as a signed int value
Definition: amp_math.h:2650
#define _CSTD
Definition: yvals.h:570
_Check_return_ int ilogb ( _In_ long double  _Xx)
inline
473  {
474  return (_CSTD ilogbl(_Xx));
475  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float ldexp ( _In_ float  _Xx,
_In_ int  _Yx 
)
inline
173  {
174  return (_CSTD ldexpf(_Xx, _Yx));
175  }
float ldexpf(float _X, int _Exp) __GPU_ONLY
Computes a real number from the mantissa and exponent
Definition: amp_math.h:728
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double ldexp ( _In_ long double  _Xx,
_In_ int  _Yx 
)
inline
479  {
480  return (_CSTD ldexpl(_Xx, _Yx));
481  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float lgamma ( _In_ float  _Xx)
inline
178  {
179  return (_CSTD lgammaf(_Xx));
180  }
float lgammaf(float _X, _Out_ int *_Sign) __GPU_ONLY
Computes the natural logarithm of the absolute value of gamma of the argument
Definition: amp_math.h:2858
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double lgamma ( _In_ long double  _Xx)
inline
484  {
485  return (_CSTD lgammal(_Xx));
486  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long long llrint ( _In_ float  _Xx)
inline
183  {
184  return (_CSTD llrintf(_Xx));
185  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long long llrint ( _In_ long double  _Xx)
inline
489  {
490  return (_CSTD llrintl(_Xx));
491  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long long llround ( _In_ float  _Xx)
inline
188  {
189  return (_CSTD llroundf(_Xx));
190  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long long llround ( _In_ long double  _Xx)
inline
494  {
495  return (_CSTD llroundl(_Xx));
496  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float log ( _In_ float  _Xx)
inline
193  {
194  return (_CSTD logf(_Xx));
195  }
float logf(float _X) __GPU_ONLY
Calculates the base-e logarithm of the argument
Definition: amp_math.h:760
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double log ( _In_ long double  _Xx)
inline
499  {
500  return (_CSTD logl(_Xx));
501  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float log10 ( _In_ float  _Xx)
inline
198  {
199  return (_CSTD log10f(_Xx));
200  }
float log10f(float _X) __GPU_ONLY
Calculates the base-10 logarithm of the argument
Definition: amp_math.h:788
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double log10 ( _In_ long double  _Xx)
inline
504  {
505  return (_CSTD log10l(_Xx));
506  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float log1p ( _In_ float  _Xx)
inline
203  {
204  return (_CSTD log1pf(_Xx));
205  }
float log1pf(float _X) __GPU_ONLY
Calculates the base-e logarithm of 1 plus the argument
Definition: amp_math.h:3032
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double log1p ( _In_ long double  _Xx)
inline
509  {
510  return (_CSTD log1pl(_Xx));
511  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float log2 ( _In_ float  _Xx)
inline
208  {
209  return (_CSTD log2f(_Xx));
210  }
float log2f(float _X) __GPU_ONLY
Calculates the base-2 logarithm of the argument
Definition: amp_math.h:816
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double log2 ( _In_ long double  _Xx)
inline
514  {
515  return (_CSTD log2l(_Xx));
516  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float logb ( _In_ float  _Xx)
inline
213  {
214  return (_CSTD logbf(_Xx));
215  }
float logbf(float _X) __GPU_ONLY
Extracts the exponent of _X, as a signed integer value in floating-point format
Definition: amp_math.h:3074
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double logb ( _In_ long double  _Xx)
inline
519  {
520  return (_CSTD logbl(_Xx));
521  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long lrint ( _In_ float  _Xx)
inline
218  {
219  return (_CSTD lrintf(_Xx));
220  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long lrint ( _In_ long double  _Xx)
inline
524  {
525  return (_CSTD lrintl(_Xx));
526  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long lround ( _In_ float  _Xx)
inline
223  {
224  return (_CSTD lroundf(_Xx));
225  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long lround ( _In_ long double  _Xx)
inline
529  {
530  return (_CSTD lroundl(_Xx));
531  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float modf ( _In_ float  _Xx,
_Out_ float *  _Yx 
)
inline
228  {
229  return (_CSTD modff(_Xx, _Yx));
230  }
#define _CSTD
Definition: yvals.h:570
float modff(float _X, float *_Ip) __GPU_ONLY
Splits _X into fractional and integer parts.
Definition: amp_math.h:847
_Check_return_ long double modf ( _In_ long double  _Xx,
_Out_ long double *  _Yx 
)
inline
535  {
536  return (_CSTD modfl(_Xx, _Yx));
537  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float nearbyint ( _In_ float  _Xx)
inline
233  {
234  return (_CSTD nearbyintf(_Xx));
235  }
float nearbyintf(float _X) __GPU_ONLY
Rounds the argument to an integer value in floating-point format, using the current rounding directio...
Definition: amp_math.h:3197
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double nearbyint ( _In_ long double  _Xx)
inline
540  {
541  return (_CSTD nearbyintl(_Xx));
542  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float nextafter ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
238  {
239  return (_CSTD nextafterf(_Xx, _Yx));
240  }
float nextafterf(float _X, float _Y) __GPU_ONLY
Determine the next representable value, in the type of the function, after _X in the direction of _Y ...
Definition: amp_math.h:3247
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double nextafter ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
546  {
547  return (_CSTD nextafterl(_Xx, _Yx));
548  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float nexttoward ( _In_ float  _Xx,
_In_ long double  _Yx 
)
inline
244  {
245  return (_CSTD nexttowardf(_Xx, _Yx));
246  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double nexttoward ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
552  {
553  return (_CSTD nexttowardl(_Xx, _Yx));
554  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ double pow ( _In_ double  _Xx,
_In_ int  _Yx 
)
inline
23  {
24  if (_Yx == 2)
25  return (_Xx * _Xx);
26 
27  return (_CSTD pow(_Xx, static_cast<double>(_Yx)));
28  }
_Check_return_ double pow(_In_ double _Xx, _In_ int _Yx) _NOEXCEPT
Definition: cmath:22
#define _CSTD
Definition: yvals.h:570
_Check_return_ float pow ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
250  {
251  return (_CSTD powf(_Xx, _Yx));
252  }
float powf(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:881
#define _CSTD
Definition: yvals.h:570
_Check_return_ float pow ( _In_ float  _Xx,
_In_ int  _Yx 
)
inline
255  {
256  if (_Yx == 2)
257  return (_Xx * _Xx);
258 
259  return (_CSTD powf(_Xx, static_cast<float>(_Yx)));
260  }
float powf(float _X, float _Y) __GPU_ONLY
Calculates _X raised to the power of _Y
Definition: amp_math.h:881
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double pow ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
558  {
559  return (_CSTD powl(_Xx, _Yx));
560  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double pow ( _In_ long double  _Xx,
_In_ int  _Yx 
)
inline
564  {
565  if (_Yx == 2)
566  return (_Xx * _Xx);
567 
568  return (_CSTD powl(_Xx, static_cast<long double>(_Yx)));
569  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float remainder ( _In_ float  _Xx,
_In_ float  _Yx 
)
inline
263  {
264  return (_CSTD remainderf(_Xx, _Yx));
265  }
float remainderf(float _X, float _Y) __GPU_ONLY
Computes the remainder: _X REM _Y
Definition: amp_math.h:3480
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double remainder ( _In_ long double  _Xx,
_In_ long double  _Yx 
)
inline
573  {
574  return (_CSTD remainderl(_Xx, _Yx));
575  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float remquo ( _In_ float  _Xx,
_In_ float  _Yx,
_Out_ int *  _Zx 
)
inline
269  {
270  return (_CSTD remquof(_Xx, _Yx, _Zx));
271  }
float remquof(float _X, float _Y, _Out_ int *_Quo) __GPU_ONLY
Computes the same remainder as _X REM _Y. Also calculates the lower 24 bits of the integral quotient ...
Definition: amp_math.h:3537
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double remquo ( _In_ long double  _Xx,
_In_ long double  _Yx,
_Out_ int *  _Zx 
)
inline
579  {
580  return (_CSTD remquol(_Xx, _Yx, _Zx));
581  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float rint ( _In_ float  _Xx)
inline
274  {
275  return (_CSTD rintf(_Xx));
276  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double rint ( _In_ long double  _Xx)
inline
584  {
585  return (_CSTD rintl(_Xx));
586  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float round ( _In_ float  _Xx)
inline
279  {
280  return (_CSTD roundf(_Xx));
281  }
float roundf(float _X) __GPU_ONLY
Rounds _X to the nearest integer
Definition: amp_math.h:912
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double round ( _In_ long double  _Xx)
inline
589  {
590  return (_CSTD roundl(_Xx));
591  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float scalbln ( _In_ float  _Xx,
_In_ long  _Yx 
)
inline
284  {
285  return (_CSTD scalblnf(_Xx, _Yx));
286  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double scalbln ( _In_ long double  _Xx,
_In_ long  _Yx 
)
inline
595  {
596  return (_CSTD scalblnl(_Xx, _Yx));
597  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float scalbn ( _In_ float  _Xx,
_In_ int  _Yx 
)
inline
289  {
290  return (_CSTD scalbnf(_Xx, _Yx));
291  }
#define _CSTD
Definition: yvals.h:570
float scalbnf(float _X, int _Y) __GPU_ONLY
Multiplies _X by FLT_RADIX to the power _Y
Definition: amp_math.h:3735
_Check_return_ long double scalbn ( _In_ long double  _Xx,
_In_ int  _Yx 
)
inline
601  {
602  return (_CSTD scalbnl(_Xx, _Yx));
603  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float sin ( _In_ float  _Xx)
inline
294  {
295  return (_CSTD sinf(_Xx));
296  }
#define _CSTD
Definition: yvals.h:570
float sinf(float _X) __GPU_ONLY
Calculates the sine value of the argument
Definition: amp_math.h:996
_Check_return_ long double sin ( _In_ long double  _Xx)
inline
606  {
607  return (_CSTD sinl(_Xx));
608  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float sinh ( _In_ float  _Xx)
inline
299  {
300  return (_CSTD sinhf(_Xx));
301  }
#define _CSTD
Definition: yvals.h:570
float sinhf(float _X) __GPU_ONLY
Calculates the hyperbolic sine value of the argument
Definition: amp_math.h:1058
_Check_return_ long double sinh ( _In_ long double  _Xx)
inline
611  {
612  return (_CSTD sinhl(_Xx));
613  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float sqrt ( _In_ float  _Xx)
inline
304  {
305  return (_CSTD sqrtf(_Xx));
306  }
float sqrtf(float _X) __GPU_ONLY
Calculates the squre root of the argument
Definition: amp_math.h:1086
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double sqrt ( _In_ long double  _Xx)
inline
616  {
617  return (_CSTD sqrtl(_Xx));
618  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float tan ( _In_ float  _Xx)
inline
309  {
310  return (_CSTD tanf(_Xx));
311  }
float tanf(float _X) __GPU_ONLY
Calculates the tangent value of the argument
Definition: amp_math.h:1114
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double tan ( _In_ long double  _Xx)
inline
621  {
622  return (_CSTD tanl(_Xx));
623  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float tanh ( _In_ float  _Xx)
inline
314  {
315  return (_CSTD tanhf(_Xx));
316  }
float tanhf(float _X) __GPU_ONLY
Calculates the hyperbolic tangent value of the argument
Definition: amp_math.h:1142
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double tanh ( _In_ long double  _Xx)
inline
626  {
627  return (_CSTD tanhl(_Xx));
628  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float tgamma ( _In_ float  _Xx)
inline
319  {
320  return (_CSTD tgammaf(_Xx));
321  }
float tgammaf(float _X) __GPU_ONLY
Computes the gamma function of _X
Definition: amp_math.h:4047
#define _CSTD
Definition: yvals.h:570
_Check_return_ long double tgamma ( _In_ long double  _Xx)
inline
631  {
632  return (_CSTD tgammal(_Xx));
633  }
#define _CSTD
Definition: yvals.h:570
_Check_return_ float trunc ( _In_ float  _Xx)
inline
324  {
325  return (_CSTD truncf(_Xx));
326  }
#define _CSTD
Definition: yvals.h:570
float truncf(float _X) __GPU_ONLY
Truncates the argument to the integer component
Definition: amp_math.h:1169
_Check_return_ long double trunc ( _In_ long double  _Xx)
inline
636  {
637  return (_CSTD truncl(_Xx));
638  }
#define _CSTD
Definition: yvals.h:570