STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs | Functions | Variables
corecrt_math.h File Reference
#include <corecrt.h>

Go to the source code of this file.

Classes

struct  _exception
 
struct  _complex
 
union  _double_val
 
union  _float_val
 
union  _ldouble_val
 
union  _float_const
 

Macros

#define _INC_MATH
 
#define _COMPLEX_DEFINED
 
#define complex   _complex
 
#define _DOMAIN   1
 
#define _SING   2
 
#define _OVERFLOW   3
 
#define _UNDERFLOW   4
 
#define _TLOSS   5
 
#define _PLOSS   6
 
#define _HUGE_ENUF   1e+300
 
#define INFINITY   ((float)(_HUGE_ENUF * _HUGE_ENUF))
 
#define HUGE_VAL   ((double)INFINITY)
 
#define HUGE_VALF   ((float)INFINITY)
 
#define HUGE_VALL   ((long double)INFINITY)
 
#define NAN   ((float)(INFINITY * 0.0F))
 
#define _DENORM   (-2)
 
#define _FINITE   (-1)
 
#define _INFCODE   1
 
#define _NANCODE   2
 
#define FP_INFINITE   _INFCODE
 
#define FP_NAN   _NANCODE
 
#define FP_NORMAL   _FINITE
 
#define FP_SUBNORMAL   _DENORM
 
#define FP_ZERO   0
 
#define _C2   1
 
#define FP_ILOGB0   (-0x7fffffff - _C2)
 
#define FP_ILOGBNAN   0x7fffffff
 
#define MATH_ERRNO   1
 
#define MATH_ERREXCEPT   2
 
#define math_errhandling   (MATH_ERRNO | MATH_ERREXCEPT)
 
#define _FE_DIVBYZERO   0x04
 
#define _FE_INEXACT   0x20
 
#define _FE_INVALID   0x01
 
#define _FE_OVERFLOW   0x08
 
#define _FE_UNDERFLOW   0x10
 
#define _D0_C   3
 
#define _D1_C   2
 
#define _D2_C   1
 
#define _D3_C   0
 
#define _DBIAS   0x3fe
 
#define _DOFF   4
 
#define _F0_C   1
 
#define _F1_C   0
 
#define _FBIAS   0x7e
 
#define _FOFF   7
 
#define _FRND   1
 
#define _L0_C   3
 
#define _L1_C   2
 
#define _L2_C   1
 
#define _L3_C   0
 
#define _LBIAS   0x3fe
 
#define _LOFF   4
 
#define _DFRAC   ((unsigned short)((1 << _DOFF) - 1))
 
#define _DMASK   ((unsigned short)(0x7fff & ~_DFRAC))
 
#define _DMAX   ((unsigned short)((1 << (15 - _DOFF)) - 1))
 
#define _DSIGN   ((unsigned short)0x8000)
 
#define _FFRAC   ((unsigned short)((1 << _FOFF) - 1))
 
#define _FMASK   ((unsigned short)(0x7fff & ~_FFRAC))
 
#define _FMAX   ((unsigned short)((1 << (15 - _FOFF)) - 1))
 
#define _FSIGN   ((unsigned short)0x8000)
 
#define _LFRAC   ((unsigned short)(-1))
 
#define _LMASK   ((unsigned short)0x7fff)
 
#define _LMAX   ((unsigned short)0x7fff)
 
#define _LSIGN   ((unsigned short)0x8000)
 
#define _DHUGE_EXP   (int)(_DMAX * 900L / 1000)
 
#define _FHUGE_EXP   (int)(_FMAX * 900L / 1000)
 
#define _LHUGE_EXP   (int)(_LMAX * 900L / 1000)
 
#define _DSIGN_C(_Val)   (((_double_val *)(char*)&(_Val))->_Sh[_D0_C] & _DSIGN)
 
#define _FSIGN_C(_Val)   (((_float_val *)(char*)&(_Val))->_Sh[_F0_C] & _FSIGN)
 
#define _LSIGN_C(_Val)   (((_ldouble_val*)(char*)&(_Val))->_Sh[_L0_C] & _LSIGN)
 
#define _FP_LT   1
 
#define _FP_EQ   2
 
#define _FP_GT   4
 
#define _CLASS_ARG(_Val)   __pragma(warning(suppress:6334))(sizeof ((_Val) + (float)0) == sizeof (float) ? 'f' : sizeof ((_Val) + (double)0) == sizeof (double) ? 'd' : 'l')
 
#define _CLASSIFY(_Val, _FFunc, _DFunc, _LDFunc)   (_CLASS_ARG(_Val) == 'f' ? _FFunc((float)(_Val)) : _CLASS_ARG(_Val) == 'd' ? _DFunc((double)(_Val)) : _LDFunc((long double)(_Val)))
 
#define _CLASSIFY2(_Val1, _Val2, _FFunc, _DFunc, _LDFunc)   (_CLASS_ARG((_Val1) + (_Val2)) == 'f' ? _FFunc((float)(_Val1), (float)(_Val2)) : _CLASS_ARG((_Val1) + (_Val2)) == 'd' ? _DFunc((double)(_Val1), (double)(_Val2)) : _LDFunc((long double)(_Val1), (long double)(_Val2)))
 
#define fpclassify(_Val)   (_CLASSIFY(_Val, _fdclass, _dclass, _ldclass))
 
#define _FPCOMPARE(_Val1, _Val2)   (_CLASSIFY2(_Val1, _Val2, _fdpcomp, _dpcomp, _ldpcomp))
 
#define isfinite(_Val)   (fpclassify(_Val) <= 0)
 
#define isinf(_Val)   (fpclassify(_Val) == FP_INFINITE)
 
#define isnan(_Val)   (fpclassify(_Val) == FP_NAN)
 
#define isnormal(_Val)   (fpclassify(_Val) == FP_NORMAL)
 
#define signbit(_Val)   (_CLASSIFY(_Val, _fdsign, _dsign, _ldsign))
 
#define isgreater(x, y)   ((_FPCOMPARE(x, y) & _FP_GT) != 0)
 
#define isgreaterequal(x, y)   ((_FPCOMPARE(x, y) & (_FP_EQ | _FP_GT)) != 0)
 
#define isless(x, y)   ((_FPCOMPARE(x, y) & _FP_LT) != 0)
 
#define islessequal(x, y)   ((_FPCOMPARE(x, y) & (_FP_LT | _FP_EQ)) != 0)
 
#define islessgreater(x, y)   ((_FPCOMPARE(x, y) & (_FP_LT | _FP_GT)) != 0)
 
#define isunordered(x, y)   (_FPCOMPARE(x, y) == 0)
 
#define _matherrl   _matherr
 
#define DOMAIN   _DOMAIN
 
#define SING   _SING
 
#define OVERFLOW   _OVERFLOW
 
#define UNDERFLOW   _UNDERFLOW
 
#define TLOSS   _TLOSS
 
#define PLOSS   _PLOSS
 
#define matherr   _matherr
 

Typedefs

typedef float float_t
 
typedef double double_t
 

Functions

void __cdecl _fperrraise (_In_ int _Except)
 
_Check_return_ _ACRTIMP short __cdecl _dclass (_In_ double _X)
 
_Check_return_ _ACRTIMP short __cdecl _ldclass (_In_ long double _X)
 
_Check_return_ _ACRTIMP short __cdecl _fdclass (_In_ float _X)
 
_Check_return_ _ACRTIMP int __cdecl _dsign (_In_ double _X)
 
_Check_return_ _ACRTIMP int __cdecl _ldsign (_In_ long double _X)
 
_Check_return_ _ACRTIMP int __cdecl _fdsign (_In_ float _X)
 
_Check_return_ _ACRTIMP int __cdecl _dpcomp (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP int __cdecl _ldpcomp (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP int __cdecl _fdpcomp (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP short __cdecl _dtest (_In_ double *_Px)
 
_Check_return_ _ACRTIMP short __cdecl _ldtest (_In_ long double *_Px)
 
_Check_return_ _ACRTIMP short __cdecl _fdtest (_In_ float *_Px)
 
_ACRTIMP short __cdecl _d_int (_Inout_ double *_Px, _In_ short _Xexp)
 
_ACRTIMP short __cdecl _ld_int (_Inout_ long double *_Px, _In_ short _Xexp)
 
_ACRTIMP short __cdecl _fd_int (_Inout_ float *_Px, _In_ short _Xexp)
 
_ACRTIMP short __cdecl _dscale (_Inout_ double *_Px, _In_ long _Lexp)
 
_ACRTIMP short __cdecl _ldscale (_Inout_ long double *_Px, _In_ long _Lexp)
 
_ACRTIMP short __cdecl _fdscale (_Inout_ float *_Px, _In_ long _Lexp)
 
_ACRTIMP short __cdecl _dunscale (_Out_ short *_Pex, _Inout_ double *_Px)
 
_ACRTIMP short __cdecl _ldunscale (_Out_ short *_Pex, _Inout_ long double *_Px)
 
_ACRTIMP short __cdecl _fdunscale (_Out_ short *_Pex, _Inout_ float *_Px)
 
_Check_return_ _ACRTIMP short __cdecl _dexp (_Inout_ double *_Px, _In_ double _Y, _In_ long _Eoff)
 
_Check_return_ _ACRTIMP short __cdecl _ldexp (_Inout_ long double *_Px, _In_ long double _Y, _In_ long _Eoff)
 
_Check_return_ _ACRTIMP short __cdecl _fdexp (_Inout_ float *_Px, _In_ float _Y, _In_ long _Eoff)
 
_Check_return_ _ACRTIMP short __cdecl _dnorm (_Inout_updates_(4) unsigned short *_Ps)
 
_Check_return_ _ACRTIMP short __cdecl _fdnorm (_Inout_updates_(2) unsigned short *_Ps)
 
_Check_return_ _ACRTIMP double __cdecl _dpoly (_In_ double _X, _In_reads_(_N) double const *_Tab, _In_ int _N)
 
_Check_return_ _ACRTIMP long double __cdecl _ldpoly (_In_ long double _X, _In_reads_(_N) long double const *_Tab, _In_ int _N)
 
_Check_return_ _ACRTIMP float __cdecl _fdpoly (_In_ float _X, _In_reads_(_N) float const *_Tab, _In_ int _N)
 
_Check_return_ _ACRTIMP double __cdecl _dlog (_In_ double _X, _In_ int _Baseflag)
 
_Check_return_ _ACRTIMP long double __cdecl _ldlog (_In_ long double _X, _In_ int _Baseflag)
 
_Check_return_ _ACRTIMP float __cdecl _fdlog (_In_ float _X, _In_ int _Baseflag)
 
_Check_return_ _ACRTIMP double __cdecl _dsin (_In_ double _X, _In_ unsigned int _Qoff)
 
_Check_return_ _ACRTIMP long double __cdecl _ldsin (_In_ long double _X, _In_ unsigned int _Qoff)
 
_Check_return_ _ACRTIMP float __cdecl _fdsin (_In_ float _X, _In_ unsigned int _Qoff)
 
_Check_return_ int __cdecl abs (_In_ int _X)
 
_Check_return_ long __cdecl labs (_In_ long _X)
 
_Check_return_ long long __cdecl llabs (_In_ long long _X)
 
_Check_return_ double __cdecl acos (_In_ double _X)
 
_Check_return_ double __cdecl asin (_In_ double _X)
 
_Check_return_ double __cdecl atan (_In_ double _X)
 
_Check_return_ double __cdecl atan2 (_In_ double _Y, _In_ double _X)
 
_Check_return_ double __cdecl cos (_In_ double _X)
 
_Check_return_ double __cdecl cosh (_In_ double _X)
 
_Check_return_ double __cdecl exp (_In_ double _X)
 
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl fabs (_In_ double _X)
 
_Check_return_ double __cdecl fmod (_In_ double _X, _In_ double _Y)
 
_Check_return_ double __cdecl log (_In_ double _X)
 
_Check_return_ double __cdecl log10 (_In_ double _X)
 
_Check_return_ double __cdecl pow (_In_ double _X, _In_ double _Y)
 
_Check_return_ double __cdecl sin (_In_ double _X)
 
_Check_return_ double __cdecl sinh (_In_ double _X)
 
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl sqrt (_In_ double _X)
 
_Check_return_ double __cdecl tan (_In_ double _X)
 
_Check_return_ double __cdecl tanh (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl acosh (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl asinh (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl atanh (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl atof (_In_z_ char const *_String)
 
_Check_return_ _ACRTIMP double __cdecl _atof_l (_In_z_ char const *_String, _In_opt_ _locale_t _Locale)
 
_Check_return_ _ACRTIMP double __cdecl _cabs (_In_ struct _complex _Complex_value)
 
_Check_return_ _ACRTIMP double __cdecl cbrt (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl ceil (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _chgsign (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl copysign (_In_ double _Number, _In_ double _Sign)
 
_Check_return_ _ACRTIMP double __cdecl _copysign (_In_ double _Number, _In_ double _Sign)
 
_Check_return_ _ACRTIMP double __cdecl erf (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl erfc (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl exp2 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl expm1 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl fdim (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl floor (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl fma (_In_ double _X, _In_ double _Y, _In_ double _Z)
 
_Check_return_ _ACRTIMP double __cdecl fmax (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl fmin (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl frexp (_In_ double _X, _Out_ int *_Y)
 
_Check_return_ _ACRTIMP double __cdecl hypot (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl _hypot (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP int __cdecl ilogb (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl ldexp (_In_ double _X, _In_ int _Y)
 
_Check_return_ _ACRTIMP double __cdecl lgamma (_In_ double _X)
 
_Check_return_ _ACRTIMP long long __cdecl llrint (_In_ double _X)
 
_Check_return_ _ACRTIMP long long __cdecl llround (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl log1p (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl log2 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl logb (_In_ double _X)
 
_Check_return_ _ACRTIMP long __cdecl lrint (_In_ double _X)
 
_Check_return_ _ACRTIMP long __cdecl lround (_In_ double _X)
 
int __CRTDECL _matherr (_Inout_ struct _exception *_Except)
 
_Check_return_ _ACRTIMP double __cdecl modf (_In_ double _X, _Out_ double *_Y)
 
_Check_return_ _ACRTIMP double __cdecl nan (_In_ char const *_X)
 
_Check_return_ _ACRTIMP double __cdecl nearbyint (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl nextafter (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl nexttoward (_In_ double _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP double __cdecl remainder (_In_ double _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl remquo (_In_ double _X, _In_ double _Y, _Out_ int *_Z)
 
_Check_return_ _ACRTIMP double __cdecl rint (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl round (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl scalbln (_In_ double _X, _In_ long _Y)
 
_Check_return_ _ACRTIMP double __cdecl scalbn (_In_ double _X, _In_ int _Y)
 
_Check_return_ _ACRTIMP double __cdecl tgamma (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl trunc (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _j0 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _j1 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _jn (int _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP double __cdecl _y0 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _y1 (_In_ double _X)
 
_Check_return_ _ACRTIMP double __cdecl _yn (_In_ int _X, _In_ double _Y)
 
_Check_return_ _ACRTIMP float __cdecl acoshf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl asinhf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl atanhf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl cbrtf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl _chgsignf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl copysignf (_In_ float _Number, _In_ float _Sign)
 
_Check_return_ _ACRTIMP float __cdecl _copysignf (_In_ float _Number, _In_ float _Sign)
 
_Check_return_ _ACRTIMP float __cdecl erff (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl erfcf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl expm1f (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl exp2f (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl fdimf (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP float __cdecl fmaf (_In_ float _X, _In_ float _Y, _In_ float _Z)
 
_Check_return_ _ACRTIMP float __cdecl fmaxf (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP float __cdecl fminf (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP float __cdecl _hypotf (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP int __cdecl ilogbf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl lgammaf (_In_ float _X)
 
_Check_return_ _ACRTIMP long long __cdecl llrintf (_In_ float _X)
 
_Check_return_ _ACRTIMP long long __cdecl llroundf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl log1pf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl log2f (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl logbf (_In_ float _X)
 
_Check_return_ _ACRTIMP long __cdecl lrintf (_In_ float _X)
 
_Check_return_ _ACRTIMP long __cdecl lroundf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl nanf (_In_ char const *_X)
 
_Check_return_ _ACRTIMP float __cdecl nearbyintf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl nextafterf (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP float __cdecl nexttowardf (_In_ float _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP float __cdecl remainderf (_In_ float _X, _In_ float _Y)
 
_Check_return_ _ACRTIMP float __cdecl remquof (_In_ float _X, _In_ float _Y, _Out_ int *_Z)
 
_Check_return_ _ACRTIMP float __cdecl rintf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl roundf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl scalblnf (_In_ float _X, _In_ long _Y)
 
_Check_return_ _ACRTIMP float __cdecl scalbnf (_In_ float _X, _In_ int _Y)
 
_Check_return_ _ACRTIMP float __cdecl tgammaf (_In_ float _X)
 
_Check_return_ _ACRTIMP float __cdecl truncf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL acosf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL asinf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL atan2f (_In_ float _Y, _In_ float _X)
 
_Check_return_ __inline float __CRTDECL atanf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL ceilf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL cosf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL coshf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL expf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL fabsf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL floorf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL fmodf (_In_ float _X, _In_ float _Y)
 
_Check_return_ __inline float __CRTDECL frexpf (_In_ float _X, _Out_ int *_Y)
 
_Check_return_ __inline float __CRTDECL hypotf (_In_ float _X, _In_ float _Y)
 
_Check_return_ __inline float __CRTDECL ldexpf (_In_ float _X, _In_ int _Y)
 
_Check_return_ __inline float __CRTDECL log10f (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL logf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL modff (_In_ float _X, _Out_ float *_Y)
 
_Check_return_ __inline float __CRTDECL powf (_In_ float _X, _In_ float _Y)
 
_Check_return_ __inline float __CRTDECL sinf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL sinhf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL sqrtf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL tanf (_In_ float _X)
 
_Check_return_ __inline float __CRTDECL tanhf (_In_ float _X)
 
_Check_return_ _ACRTIMP long double __cdecl acoshl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL acosl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl asinhl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL asinl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL atan2l (_In_ long double _Y, _In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl atanhl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL atanl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl cbrtl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL ceill (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL _chgsignl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl copysignl (_In_ long double _Number, _In_ long double _Sign)
 
_Check_return_ __inline long double __CRTDECL _copysignl (_In_ long double _Number, _In_ long double _Sign)
 
_Check_return_ __inline long double __CRTDECL coshl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL cosl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl erfl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl erfcl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL expl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl exp2l (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl expm1l (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL fabsl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl fdiml (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ __inline long double __CRTDECL floorl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl fmal (_In_ long double _X, _In_ long double _Y, _In_ long double _Z)
 
_Check_return_ _ACRTIMP long double __cdecl fmaxl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP long double __cdecl fminl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ __inline long double __CRTDECL fmodl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ __inline long double __CRTDECL frexpl (_In_ long double _X, _Out_ int *_Y)
 
_Check_return_ _ACRTIMP int __cdecl ilogbl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL _hypotl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ __inline long double __CRTDECL hypotl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ __inline long double __CRTDECL ldexpl (_In_ long double _X, _In_ int _Y)
 
_Check_return_ _ACRTIMP long double __cdecl lgammal (_In_ long double _X)
 
_Check_return_ _ACRTIMP long long __cdecl llrintl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long long __cdecl llroundl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL logl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL log10l (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl log1pl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl log2l (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl logbl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long __cdecl lrintl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long __cdecl lroundl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL modfl (_In_ long double _X, _Out_ long double *_Y)
 
_Check_return_ _ACRTIMP long double __cdecl nanl (_In_ char const *_X)
 
_Check_return_ _ACRTIMP long double __cdecl nearbyintl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl nextafterl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP long double __cdecl nexttowardl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ __inline long double __CRTDECL powl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP long double __cdecl remainderl (_In_ long double _X, _In_ long double _Y)
 
_Check_return_ _ACRTIMP long double __cdecl remquol (_In_ long double _X, _In_ long double _Y, _Out_ int *_Z)
 
_Check_return_ _ACRTIMP long double __cdecl rintl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl roundl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl scalblnl (_In_ long double _X, _In_ long _Y)
 
_Check_return_ _ACRTIMP long double __cdecl scalbnl (_In_ long double _X, _In_ int _Y)
 
_Check_return_ __inline long double __CRTDECL sinhl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL sinl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL sqrtl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL tanhl (_In_ long double _X)
 
_Check_return_ __inline long double __CRTDECL tanl (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl tgammal (_In_ long double _X)
 
_Check_return_ _ACRTIMP long double __cdecl truncl (_In_ long double _X)
 
 _CRT_NONSTDC_DEPRECATE (_j0) _Check_return_ _ACRTIMP double __cdecl j0(_In_ double _X)
 
 _CRT_NONSTDC_DEPRECATE (_j1) _Check_return_ _ACRTIMP double __cdecl j1(_In_ double _X)
 
 _CRT_NONSTDC_DEPRECATE (_jn) _Check_return_ _ACRTIMP double __cdecl jn(_In_ int _X
 
 _CRT_NONSTDC_DEPRECATE (_y0) _Check_return_ _ACRTIMP double __cdecl y0(_In_ double _X)
 
 _CRT_NONSTDC_DEPRECATE (_y1) _Check_return_ _ACRTIMP double __cdecl y1(_In_ double _X)
 
 _CRT_NONSTDC_DEPRECATE (_yn) _Check_return_ _ACRTIMP double __cdecl yn(_In_ int _X
 

Variables

double const _HUGE
 
const _float_const _Denorm_C
 
const _float_const _Inf_C
 
const _float_const _Nan_C
 
const _float_const _Snan_C
 
const _float_const _Hugeval_C
 
const _float_const _FDenorm_C
 
const _float_const _FInf_C
 
const _float_const _FNan_C
 
const _float_const _FSnan_C
 
const _float_const _LDenorm_C
 
const _float_const _LInf_C
 
const _float_const _LNan_C
 
const _float_const _LSnan_C
 
const _float_const _Eps_C
 
const _float_const _Rteps_C
 
const _float_const _FEps_C
 
const _float_const _FRteps_C
 
const _float_const _LEps_C
 
const _float_const _LRteps_C
 
const double _Zero_C
 
const double _Xbig_C
 
const float _FZero_C
 
const float _FXbig_C
 
const long double _LZero_C
 
const long double _LXbig_C
 
double HUGE
 
_In_ double _Y
 

Macro Definition Documentation

#define _C2   1
#define _CLASS_ARG (   _Val)    __pragma(warning(suppress:6334))(sizeof ((_Val) + (float)0) == sizeof (float) ? 'f' : sizeof ((_Val) + (double)0) == sizeof (double) ? 'd' : 'l')
#define _CLASSIFY (   _Val,
  _FFunc,
  _DFunc,
  _LDFunc 
)    (_CLASS_ARG(_Val) == 'f' ? _FFunc((float)(_Val)) : _CLASS_ARG(_Val) == 'd' ? _DFunc((double)(_Val)) : _LDFunc((long double)(_Val)))
#define _CLASSIFY2 (   _Val1,
  _Val2,
  _FFunc,
  _DFunc,
  _LDFunc 
)    (_CLASS_ARG((_Val1) + (_Val2)) == 'f' ? _FFunc((float)(_Val1), (float)(_Val2)) : _CLASS_ARG((_Val1) + (_Val2)) == 'd' ? _DFunc((double)(_Val1), (double)(_Val2)) : _LDFunc((long double)(_Val1), (long double)(_Val2)))
#define _COMPLEX_DEFINED
#define _D0_C   3
#define _D1_C   2
#define _D2_C   1
#define _D3_C   0
#define _DBIAS   0x3fe
#define _DENORM   (-2)
#define _DFRAC   ((unsigned short)((1 << _DOFF) - 1))
#define _DHUGE_EXP   (int)(_DMAX * 900L / 1000)
#define _DMASK   ((unsigned short)(0x7fff & ~_DFRAC))
#define _DMAX   ((unsigned short)((1 << (15 - _DOFF)) - 1))
#define _DOFF   4
#define _DOMAIN   1
#define _DSIGN   ((unsigned short)0x8000)
#define _DSIGN_C (   _Val)    (((_double_val *)(char*)&(_Val))->_Sh[_D0_C] & _DSIGN)
#define _F0_C   1
#define _F1_C   0
#define _FBIAS   0x7e
#define _FE_DIVBYZERO   0x04
#define _FE_INEXACT   0x20
#define _FE_INVALID   0x01
#define _FE_OVERFLOW   0x08
#define _FE_UNDERFLOW   0x10
#define _FFRAC   ((unsigned short)((1 << _FOFF) - 1))
#define _FHUGE_EXP   (int)(_FMAX * 900L / 1000)
#define _FINITE   (-1)
#define _FMASK   ((unsigned short)(0x7fff & ~_FFRAC))
#define _FMAX   ((unsigned short)((1 << (15 - _FOFF)) - 1))
#define _FOFF   7
#define _FP_EQ   2
#define _FP_GT   4
#define _FP_LT   1
#define _FPCOMPARE (   _Val1,
  _Val2 
)    (_CLASSIFY2(_Val1, _Val2, _fdpcomp, _dpcomp, _ldpcomp))
#define _FRND   1
#define _FSIGN   ((unsigned short)0x8000)
#define _FSIGN_C (   _Val)    (((_float_val *)(char*)&(_Val))->_Sh[_F0_C] & _FSIGN)
#define _HUGE_ENUF   1e+300
#define _INC_MATH
#define _INFCODE   1
#define _L0_C   3
#define _L1_C   2
#define _L2_C   1
#define _L3_C   0
#define _LBIAS   0x3fe
#define _LFRAC   ((unsigned short)(-1))
#define _LHUGE_EXP   (int)(_LMAX * 900L / 1000)
#define _LMASK   ((unsigned short)0x7fff)
#define _LMAX   ((unsigned short)0x7fff)
#define _LOFF   4
#define _LSIGN   ((unsigned short)0x8000)
#define _LSIGN_C (   _Val)    (((_ldouble_val*)(char*)&(_Val))->_Sh[_L0_C] & _LSIGN)
#define _matherrl   _matherr
#define _NANCODE   2
#define _OVERFLOW   3
#define _PLOSS   6
#define _SING   2
#define _TLOSS   5
#define _UNDERFLOW   4
#define complex   _complex
#define DOMAIN   _DOMAIN
#define FP_ILOGB0   (-0x7fffffff - _C2)
#define FP_ILOGBNAN   0x7fffffff
#define FP_INFINITE   _INFCODE
#define FP_NAN   _NANCODE
#define FP_NORMAL   _FINITE
#define FP_SUBNORMAL   _DENORM
#define FP_ZERO   0
#define fpclassify (   _Val)    (_CLASSIFY(_Val, _fdclass, _dclass, _ldclass))
#define HUGE_VAL   ((double)INFINITY)
#define HUGE_VALF   ((float)INFINITY)
#define HUGE_VALL   ((long double)INFINITY)
#define INFINITY   ((float)(_HUGE_ENUF * _HUGE_ENUF))
#define isfinite (   _Val)    (fpclassify(_Val) <= 0)
#define isgreater (   x,
 
)    ((_FPCOMPARE(x, y) & _FP_GT) != 0)
#define isgreaterequal (   x,
 
)    ((_FPCOMPARE(x, y) & (_FP_EQ | _FP_GT)) != 0)
#define isinf (   _Val)    (fpclassify(_Val) == FP_INFINITE)
#define isless (   x,
 
)    ((_FPCOMPARE(x, y) & _FP_LT) != 0)
#define islessequal (   x,
 
)    ((_FPCOMPARE(x, y) & (_FP_LT | _FP_EQ)) != 0)
#define islessgreater (   x,
 
)    ((_FPCOMPARE(x, y) & (_FP_LT | _FP_GT)) != 0)
#define isnan (   _Val)    (fpclassify(_Val) == FP_NAN)
#define isnormal (   _Val)    (fpclassify(_Val) == FP_NORMAL)
#define isunordered (   x,
 
)    (_FPCOMPARE(x, y) == 0)
#define MATH_ERREXCEPT   2
#define math_errhandling   (MATH_ERRNO | MATH_ERREXCEPT)
#define MATH_ERRNO   1
#define matherr   _matherr
#define NAN   ((float)(INFINITY * 0.0F))
#define OVERFLOW   _OVERFLOW
#define PLOSS   _PLOSS
#define signbit (   _Val)    (_CLASSIFY(_Val, _fdsign, _dsign, _ldsign))
#define SING   _SING
#define TLOSS   _TLOSS
#define UNDERFLOW   _UNDERFLOW

Typedef Documentation

typedef double double_t
typedef float float_t

Function Documentation

_Check_return_ _ACRTIMP double __cdecl _atof_l ( _In_z_ char const *  _String,
_In_opt_ _locale_t  _Locale 
)
_Check_return_ _ACRTIMP double __cdecl _cabs ( _In_ struct _complex  _Complex_value)
_Check_return_ _ACRTIMP double __cdecl _chgsign ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl _chgsignf ( _In_ float  _X)
_Check_return_ __inline long double __CRTDECL _chgsignl ( _In_ long double  _X)
808  {
809  return _chgsign((double)_X);
810  }
_Check_return_ _ACRTIMP double __cdecl _chgsign(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl _copysign ( _In_ double  _Number,
_In_ double  _Sign 
)
_Check_return_ _ACRTIMP float __cdecl _copysignf ( _In_ float  _Number,
_In_ float  _Sign 
)
_Check_return_ __inline long double __CRTDECL _copysignl ( _In_ long double  _Number,
_In_ long double  _Sign 
)
815  {
816  return _copysign((double)_Number, (double)_Sign);
817  }
_Check_return_ _ACRTIMP double __cdecl _copysign(_In_ double _Number, _In_ double _Sign)
_CRT_NONSTDC_DEPRECATE ( _j0  )
_CRT_NONSTDC_DEPRECATE ( _j1  )
_CRT_NONSTDC_DEPRECATE ( _jn  )
_CRT_NONSTDC_DEPRECATE ( _y0  )
_CRT_NONSTDC_DEPRECATE ( _y1  )
_CRT_NONSTDC_DEPRECATE ( _yn  )
_ACRTIMP short __cdecl _d_int ( _Inout_ double *  _Px,
_In_ short  _Xexp 
)
_Check_return_ _ACRTIMP short __cdecl _dclass ( _In_ double  _X)
_Check_return_ _ACRTIMP short __cdecl _dexp ( _Inout_ double *  _Px,
_In_ double  _Y,
_In_ long  _Eoff 
)
_Check_return_ _ACRTIMP double __cdecl _dlog ( _In_ double  _X,
_In_ int  _Baseflag 
)
_Check_return_ _ACRTIMP short __cdecl _dnorm ( _Inout_updates_(4) unsigned short *  _Ps)
_Check_return_ _ACRTIMP int __cdecl _dpcomp ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP double __cdecl _dpoly ( _In_ double  _X,
_In_reads_(_N) double const *  _Tab,
_In_ int  _N 
)
_ACRTIMP short __cdecl _dscale ( _Inout_ double *  _Px,
_In_ long  _Lexp 
)
_Check_return_ _ACRTIMP int __cdecl _dsign ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl _dsin ( _In_ double  _X,
_In_ unsigned int  _Qoff 
)
_Check_return_ _ACRTIMP short __cdecl _dtest ( _In_ double *  _Px)
_ACRTIMP short __cdecl _dunscale ( _Out_ short *  _Pex,
_Inout_ double *  _Px 
)
_ACRTIMP short __cdecl _fd_int ( _Inout_ float *  _Px,
_In_ short  _Xexp 
)
_Check_return_ _ACRTIMP short __cdecl _fdclass ( _In_ float  _X)
_Check_return_ _ACRTIMP short __cdecl _fdexp ( _Inout_ float *  _Px,
_In_ float  _Y,
_In_ long  _Eoff 
)
_Check_return_ _ACRTIMP float __cdecl _fdlog ( _In_ float  _X,
_In_ int  _Baseflag 
)
_Check_return_ _ACRTIMP short __cdecl _fdnorm ( _Inout_updates_(2) unsigned short *  _Ps)
_Check_return_ _ACRTIMP int __cdecl _fdpcomp ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ _ACRTIMP float __cdecl _fdpoly ( _In_ float  _X,
_In_reads_(_N) float const *  _Tab,
_In_ int  _N 
)
_ACRTIMP short __cdecl _fdscale ( _Inout_ float *  _Px,
_In_ long  _Lexp 
)
_Check_return_ _ACRTIMP int __cdecl _fdsign ( _In_ float  _X)
_Check_return_ _ACRTIMP float __cdecl _fdsin ( _In_ float  _X,
_In_ unsigned int  _Qoff 
)
_Check_return_ _ACRTIMP short __cdecl _fdtest ( _In_ float *  _Px)
_ACRTIMP short __cdecl _fdunscale ( _Out_ short *  _Pex,
_Inout_ float *  _Px 
)
void __cdecl _fperrraise ( _In_ int  _Except)
_Check_return_ _ACRTIMP double __cdecl _hypot ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl _hypotf ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ __inline long double __CRTDECL _hypotl ( _In_ long double  _X,
_In_ long double  _Y 
)
869  {
870  return _hypot((double)_X, (double)_Y);
871  }
_Check_return_ _ACRTIMP double __cdecl _hypot(_In_ double _X, _In_ double _Y)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP double __cdecl _j0 ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl _j1 ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl _jn ( int  _X,
_In_ double  _Y 
)
_ACRTIMP short __cdecl _ld_int ( _Inout_ long double *  _Px,
_In_ short  _Xexp 
)
_Check_return_ _ACRTIMP short __cdecl _ldclass ( _In_ long double  _X)
_Check_return_ _ACRTIMP short __cdecl _ldexp ( _Inout_ long double *  _Px,
_In_ long double  _Y,
_In_ long  _Eoff 
)
_Check_return_ _ACRTIMP long double __cdecl _ldlog ( _In_ long double  _X,
_In_ int  _Baseflag 
)
_Check_return_ _ACRTIMP int __cdecl _ldpcomp ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl _ldpoly ( _In_ long double  _X,
_In_reads_(_N) long double const *  _Tab,
_In_ int  _N 
)
_ACRTIMP short __cdecl _ldscale ( _Inout_ long double *  _Px,
_In_ long  _Lexp 
)
_Check_return_ _ACRTIMP int __cdecl _ldsign ( _In_ long double  _X)
_Check_return_ _ACRTIMP long double __cdecl _ldsin ( _In_ long double  _X,
_In_ unsigned int  _Qoff 
)
_Check_return_ _ACRTIMP short __cdecl _ldtest ( _In_ long double *  _Px)
_ACRTIMP short __cdecl _ldunscale ( _Out_ short *  _Pex,
_Inout_ long double *  _Px 
)
int __CRTDECL _matherr ( _Inout_ struct _exception _Except)
_Check_return_ _ACRTIMP double __cdecl _y0 ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl _y1 ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl _yn ( _In_ int  _X,
_In_ double  _Y 
)
_Check_return_ int __cdecl abs ( _In_ int  _X)
_Check_return_ double __cdecl acos ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL acosf ( _In_ float  _X)
622  {
623  return (float)acos(_X);
624  }
_Check_return_ double __cdecl acos(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl acosh ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl acoshf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl acoshl ( _In_ long double  _X)
_Check_return_ __inline long double __CRTDECL acosl ( _In_ long double  _X)
777  {
778  return acos((double)_X);
779  }
_Check_return_ double __cdecl acos(_In_ double _X)
_Check_return_ double __cdecl asin ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL asinf ( _In_ float  _X)
627  {
628  return (float)asin(_X);
629  }
_Check_return_ double __cdecl asin(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl asinh ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl asinhf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl asinhl ( _In_ long double  _X)
_Check_return_ __inline long double __CRTDECL asinl ( _In_ long double  _X)
784  {
785  return asin((double)_X);
786  }
_Check_return_ double __cdecl asin(_In_ double _X)
_Check_return_ double __cdecl atan ( _In_ double  _X)
_Check_return_ double __cdecl atan2 ( _In_ double  _Y,
_In_ double  _X 
)
_Check_return_ __inline float __CRTDECL atan2f ( _In_ float  _Y,
_In_ float  _X 
)
632  {
633  return (float)atan2(_Y, _X);
634  }
_Check_return_ double __cdecl atan2(_In_ double _Y, _In_ double _X)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ __inline long double __CRTDECL atan2l ( _In_ long double  _Y,
_In_ long double  _X 
)
789  {
790  return atan2((double)_Y, (double)_X);
791  }
_Check_return_ double __cdecl atan2(_In_ double _Y, _In_ double _X)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ __inline float __CRTDECL atanf ( _In_ float  _X)
637  {
638  return (float)atan(_X);
639  }
_Check_return_ double __cdecl atan(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl atanh ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl atanhf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl atanhl ( _In_ long double  _X)
_Check_return_ __inline long double __CRTDECL atanl ( _In_ long double  _X)
796  {
797  return atan((double)_X);
798  }
_Check_return_ double __cdecl atan(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl atof ( _In_z_ char const *  _String)
_Check_return_ _ACRTIMP double __cdecl cbrt ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl cbrtf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl cbrtl ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl ceil ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL ceilf ( _In_ float  _X)
642  {
643  return (float)ceil(_X);
644  }
_Check_return_ _ACRTIMP double __cdecl ceil(_In_ double _X)
_Check_return_ __inline long double __CRTDECL ceill ( _In_ long double  _X)
803  {
804  return ceil((double)_X);
805  }
_Check_return_ _ACRTIMP double __cdecl ceil(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl copysign ( _In_ double  _Number,
_In_ double  _Sign 
)
_Check_return_ _ACRTIMP float __cdecl copysignf ( _In_ float  _Number,
_In_ float  _Sign 
)
_Check_return_ _ACRTIMP long double __cdecl copysignl ( _In_ long double  _Number,
_In_ long double  _Sign 
)
_Check_return_ double __cdecl cos ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL cosf ( _In_ float  _X)
647  {
648  return (float)cos(_X);
649  }
_Check_return_ double __cdecl cos(_In_ double _X)
_Check_return_ double __cdecl cosh ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL coshf ( _In_ float  _X)
652  {
653  return (float)cosh(_X);
654  }
_Check_return_ double __cdecl cosh(_In_ double _X)
_Check_return_ __inline long double __CRTDECL coshl ( _In_ long double  _X)
820  {
821  return cosh((double)_X);
822  }
_Check_return_ double __cdecl cosh(_In_ double _X)
_Check_return_ __inline long double __CRTDECL cosl ( _In_ long double  _X)
825  {
826  return cos((double)_X);
827  }
_Check_return_ double __cdecl cos(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl erf ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl erfc ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl erfcf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl erfcl ( _In_ long double  _X)
_Check_return_ _ACRTIMP float __cdecl erff ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl erfl ( _In_ long double  _X)
_Check_return_ double __cdecl exp ( _In_ double  _X)
_Check_return_ _ACRTIMP double __cdecl exp2 ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl exp2f ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl exp2l ( _In_ long double  _X)
_Check_return_ __inline float __CRTDECL expf ( _In_ float  _X)
657  {
658  return (float)exp(_X);
659  }
_Check_return_ double __cdecl exp(_In_ double _X)
_Check_return_ __inline long double __CRTDECL expl ( _In_ long double  _X)
833  {
834  return exp((double)_X);
835  }
_Check_return_ double __cdecl exp(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl expm1 ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl expm1f ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl expm1l ( _In_ long double  _X)
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl fabs ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL fabsf ( _In_ float  _X)
670  {
671  return (float)fabs(_X);
672  }
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl fabs(_In_ double _X)
_Check_return_ __inline long double __CRTDECL fabsl ( _In_ long double  _X)
841  {
842  return fabs((double)_X);
843  }
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl fabs(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl fdim ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl fdimf ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl fdiml ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP double __cdecl floor ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL floorf ( _In_ float  _X)
684  {
685  return (float)floor(_X);
686  }
_Check_return_ _ACRTIMP double __cdecl floor(_In_ double _X)
_Check_return_ __inline long double __CRTDECL floorl ( _In_ long double  _X)
848  {
849  return floor((double)_X);
850  }
_Check_return_ _ACRTIMP double __cdecl floor(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl fma ( _In_ double  _X,
_In_ double  _Y,
_In_ double  _Z 
)
_Check_return_ _ACRTIMP float __cdecl fmaf ( _In_ float  _X,
_In_ float  _Y,
_In_ float  _Z 
)
_Check_return_ _ACRTIMP long double __cdecl fmal ( _In_ long double  _X,
_In_ long double  _Y,
_In_ long double  _Z 
)
_Check_return_ _ACRTIMP double __cdecl fmax ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl fmaxf ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl fmaxl ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP double __cdecl fmin ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl fminf ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl fminl ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ double __cdecl fmod ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ __inline float __CRTDECL fmodf ( _In_ float  _X,
_In_ float  _Y 
)
689  {
690  return (float)fmod(_X, _Y);
691  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ double __cdecl fmod(_In_ double _X, _In_ double _Y)
_Check_return_ __inline long double __CRTDECL fmodl ( _In_ long double  _X,
_In_ long double  _Y 
)
857  {
858  return fmod((double)_X, (double)_Y);
859  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ double __cdecl fmod(_In_ double _X, _In_ double _Y)
_Check_return_ _ACRTIMP double __cdecl frexp ( _In_ double  _X,
_Out_ int _Y 
)
_Check_return_ __inline float __CRTDECL frexpf ( _In_ float  _X,
_Out_ int _Y 
)
696  {
697  return (float)frexp(_X, _Y);
698  }
_Check_return_ _ACRTIMP double __cdecl frexp(_In_ double _X, _Out_ int *_Y)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ __inline long double __CRTDECL frexpl ( _In_ long double  _X,
_Out_ int _Y 
)
862  {
863  return frexp((double)_X, _Y);
864  }
_Check_return_ _ACRTIMP double __cdecl frexp(_In_ double _X, _Out_ int *_Y)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP double __cdecl hypot ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ __inline float __CRTDECL hypotf ( _In_ float  _X,
_In_ float  _Y 
)
701  {
702  return _hypotf(_X, _Y);
703  }
_Check_return_ _ACRTIMP float __cdecl _hypotf(_In_ float _X, _In_ float _Y)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ __inline long double __CRTDECL hypotl ( _In_ long double  _X,
_In_ long double  _Y 
)
874  {
875  return _hypot((double)_X, (double)_Y);
876  }
_Check_return_ _ACRTIMP double __cdecl _hypot(_In_ double _X, _In_ double _Y)
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP int __cdecl ilogb ( _In_ double  _X)
_Check_return_ _ACRTIMP int __cdecl ilogbf ( _In_ float  _X)
_Check_return_ _ACRTIMP int __cdecl ilogbl ( _In_ long double  _X)
_Check_return_ long __cdecl labs ( _In_ long  _X)
_Check_return_ _ACRTIMP double __cdecl ldexp ( _In_ double  _X,
_In_ int  _Y 
)
_Check_return_ __inline float __CRTDECL ldexpf ( _In_ float  _X,
_In_ int  _Y 
)
706  {
707  return (float)ldexp(_X, _Y);
708  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP double __cdecl ldexp(_In_ double _X, _In_ int _Y)
_Check_return_ __inline long double __CRTDECL ldexpl ( _In_ long double  _X,
_In_ int  _Y 
)
879  {
880  return ldexp((double)_X, _Y);
881  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP double __cdecl ldexp(_In_ double _X, _In_ int _Y)
_Check_return_ _ACRTIMP double __cdecl lgamma ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl lgammaf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl lgammal ( _In_ long double  _X)
_Check_return_ long long __cdecl llabs ( _In_ long long  _X)
_Check_return_ _ACRTIMP long long __cdecl llrint ( _In_ double  _X)
_Check_return_ _ACRTIMP long long __cdecl llrintf ( _In_ float  _X)
_Check_return_ _ACRTIMP long long __cdecl llrintl ( _In_ long double  _X)
_Check_return_ _ACRTIMP long long __cdecl llround ( _In_ double  _X)
_Check_return_ _ACRTIMP long long __cdecl llroundf ( _In_ float  _X)
_Check_return_ _ACRTIMP long long __cdecl llroundl ( _In_ long double  _X)
_Check_return_ double __cdecl log ( _In_ double  _X)
_Check_return_ double __cdecl log10 ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL log10f ( _In_ float  _X)
725  {
726  return (float)log10(_X);
727  }
_Check_return_ double __cdecl log10(_In_ double _X)
_Check_return_ __inline long double __CRTDECL log10l ( _In_ long double  _X)
893  {
894  return log10((double)_X);
895  }
_Check_return_ double __cdecl log10(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl log1p ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl log1pf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl log1pl ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl log2 ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl log2f ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl log2l ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl logb ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl logbf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl logbl ( _In_ long double  _X)
_Check_return_ __inline float __CRTDECL logf ( _In_ float  _X)
730  {
731  return (float)log(_X);
732  }
_Check_return_ double __cdecl log(_In_ double _X)
_Check_return_ __inline long double __CRTDECL logl ( _In_ long double  _X)
888  {
889  return log((double)_X);
890  }
_Check_return_ double __cdecl log(_In_ double _X)
_Check_return_ _ACRTIMP long __cdecl lrint ( _In_ double  _X)
_Check_return_ _ACRTIMP long __cdecl lrintf ( _In_ float  _X)
_Check_return_ _ACRTIMP long __cdecl lrintl ( _In_ long double  _X)
_Check_return_ _ACRTIMP long __cdecl lround ( _In_ double  _X)
_Check_return_ _ACRTIMP long __cdecl lroundf ( _In_ float  _X)
_Check_return_ _ACRTIMP long __cdecl lroundl ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl modf ( _In_ double  _X,
_Out_ double *  _Y 
)
_Check_return_ __inline float __CRTDECL modff ( _In_ float  _X,
_Out_ float *  _Y 
)
735  {
736  double _F, _I;
737  _F = modf(_X, &_I);
738  *_Y = (float)_I;
739  return (float)_F;
740  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP double __cdecl modf(_In_ double _X, _Out_ double *_Y)
_Check_return_ __inline long double __CRTDECL modfl ( _In_ long double  _X,
_Out_ long double *  _Y 
)
904  {
905  double _F, _I;
906  _F = modf((double)_X, &_I);
907  *_Y = _I;
908  return _F;
909  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ _ACRTIMP double __cdecl modf(_In_ double _X, _Out_ double *_Y)
_Check_return_ _ACRTIMP double __cdecl nan ( _In_ char const *  _X)
_Check_return_ _ACRTIMP float __cdecl nanf ( _In_ char const *  _X)
_Check_return_ _ACRTIMP long double __cdecl nanl ( _In_ char const *  _X)
_Check_return_ _ACRTIMP double __cdecl nearbyint ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl nearbyintf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl nearbyintl ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl nextafter ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl nextafterf ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl nextafterl ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP double __cdecl nexttoward ( _In_ double  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl nexttowardf ( _In_ float  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl nexttowardl ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ double __cdecl pow ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ __inline float __CRTDECL powf ( _In_ float  _X,
_In_ float  _Y 
)
743  {
744  return (float)pow(_X, _Y);
745  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ double __cdecl pow(_In_ double _X, _In_ double _Y)
_Check_return_ __inline long double __CRTDECL powl ( _In_ long double  _X,
_In_ long double  _Y 
)
917  {
918  return pow((double)_X, (double)_Y);
919  }
_In_ double _Y
Definition: corecrt_math.h:982
_Check_return_ double __cdecl pow(_In_ double _X, _In_ double _Y)
_Check_return_ _ACRTIMP double __cdecl remainder ( _In_ double  _X,
_In_ double  _Y 
)
_Check_return_ _ACRTIMP float __cdecl remainderf ( _In_ float  _X,
_In_ float  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl remainderl ( _In_ long double  _X,
_In_ long double  _Y 
)
_Check_return_ _ACRTIMP double __cdecl remquo ( _In_ double  _X,
_In_ double  _Y,
_Out_ int _Z 
)
_Check_return_ _ACRTIMP float __cdecl remquof ( _In_ float  _X,
_In_ float  _Y,
_Out_ int _Z 
)
_Check_return_ _ACRTIMP long double __cdecl remquol ( _In_ long double  _X,
_In_ long double  _Y,
_Out_ int _Z 
)
_Check_return_ _ACRTIMP double __cdecl rint ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl rintf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl rintl ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl round ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl roundf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl roundl ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl scalbln ( _In_ double  _X,
_In_ long  _Y 
)
_Check_return_ _ACRTIMP float __cdecl scalblnf ( _In_ float  _X,
_In_ long  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl scalblnl ( _In_ long double  _X,
_In_ long  _Y 
)
_Check_return_ _ACRTIMP double __cdecl scalbn ( _In_ double  _X,
_In_ int  _Y 
)
_Check_return_ _ACRTIMP float __cdecl scalbnf ( _In_ float  _X,
_In_ int  _Y 
)
_Check_return_ _ACRTIMP long double __cdecl scalbnl ( _In_ long double  _X,
_In_ int  _Y 
)
_Check_return_ double __cdecl sin ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL sinf ( _In_ float  _X)
748  {
749  return (float)sin(_X);
750  }
_Check_return_ double __cdecl sin(_In_ double _X)
_Check_return_ double __cdecl sinh ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL sinhf ( _In_ float  _X)
753  {
754  return (float)sinh(_X);
755  }
_Check_return_ double __cdecl sinh(_In_ double _X)
_Check_return_ __inline long double __CRTDECL sinhl ( _In_ long double  _X)
929  {
930  return sinh((double)_X);
931  }
_Check_return_ double __cdecl sinh(_In_ double _X)
_Check_return_ __inline long double __CRTDECL sinl ( _In_ long double  _X)
934  {
935  return sin((double)_X);
936  }
_Check_return_ double __cdecl sin(_In_ double _X)
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl sqrt ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL sqrtf ( _In_ float  _X)
758  {
759  return (float)sqrt(_X);
760  }
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl sqrt(_In_ double _X)
_Check_return_ __inline long double __CRTDECL sqrtl ( _In_ long double  _X)
939  {
940  return sqrt((double)_X);
941  }
_Check_return_ _CRT_JIT_INTRINSIC double __cdecl sqrt(_In_ double _X)
_Check_return_ double __cdecl tan ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL tanf ( _In_ float  _X)
763  {
764  return (float)tan(_X);
765  }
_Check_return_ double __cdecl tan(_In_ double _X)
_Check_return_ double __cdecl tanh ( _In_ double  _X)
_Check_return_ __inline float __CRTDECL tanhf ( _In_ float  _X)
768  {
769  return (float)tanh(_X);
770  }
_Check_return_ double __cdecl tanh(_In_ double _X)
_Check_return_ __inline long double __CRTDECL tanhl ( _In_ long double  _X)
944  {
945  return tanh((double)_X);
946  }
_Check_return_ double __cdecl tanh(_In_ double _X)
_Check_return_ __inline long double __CRTDECL tanl ( _In_ long double  _X)
949  {
950  return tan((double)_X);
951  }
_Check_return_ double __cdecl tan(_In_ double _X)
_Check_return_ _ACRTIMP double __cdecl tgamma ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl tgammaf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl tgammal ( _In_ long double  _X)
_Check_return_ _ACRTIMP double __cdecl trunc ( _In_ double  _X)
_Check_return_ _ACRTIMP float __cdecl truncf ( _In_ float  _X)
_Check_return_ _ACRTIMP long double __cdecl truncl ( _In_ long double  _X)

Variable Documentation

const _float_const _Denorm_C
const _float_const _Eps_C
const _float_const _FDenorm_C
const _float_const _FEps_C
const _float_const _FInf_C
const _float_const _FNan_C
const _float_const _FRteps_C
const _float_const _FSnan_C
const float _FXbig_C
const float _FZero_C
double const _HUGE
const _float_const _Hugeval_C
const _float_const _Inf_C
const _float_const _LDenorm_C
const _float_const _LEps_C
const _float_const _LInf_C
const _float_const _LNan_C
const _float_const _LRteps_C
const _float_const _LSnan_C
const long double _LXbig_C
const long double _LZero_C
const _float_const _Nan_C
const _float_const _Rteps_C
const _float_const _Snan_C
const double _Xbig_C
_In_ double _Y
const double _Zero_C
double HUGE