4coder/non-source/test_data/lots_of_files/ymath.h

100 lines
3.6 KiB
C
Raw Permalink Normal View History

2018-03-16 18:19:11 +00:00
/* ymath.h internal header */
#pragma once
#ifndef _YMATH
#define _YMATH
#ifndef RC_INVOKED
#include <yvals.h>
_C_STD_BEGIN
#pragma pack(push,_CRT_PACKING)
#pragma warning(push,3)
#pragma push_macro("new")
#undef new
#if !defined(MRTDLL) || !defined(_CRTBLD)
#ifndef _M_CEE_PURE
_C_LIB_DECL
#endif /* _M_CEE_PURE */
#endif /* !MRTDLL || !_CRTBLD */
/* MACROS FOR _Dtest RETURN (0 => ZERO) */
#define _DENORM (-2) /* C9X only */
#define _FINITE (-1)
#define _INFCODE 1
#define _NANCODE 2
/* MACROS FOR _Feraise ARGUMENT */
#define _FE_DIVBYZERO 0x04
#define _FE_INEXACT 0x20
#define _FE_INVALID 0x01
#define _FE_OVERFLOW 0x08
#define _FE_UNDERFLOW 0x10
void __CLRCALL_PURE_OR_CDECL _Feraise(int);
typedef union
{ /* pun float types as integer array */
unsigned short _Word[8];
float _Float;
double _Double;
long double _Long_double;
} _Dconst;
/* double DECLARATIONS */
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Cosh(double, double);
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Divide(double, double);
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Dtest(double *);
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Log(double, int);
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Recip(double);
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sin(double, unsigned int);
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinx(double, unsigned int, int);
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinh(double, double);
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short);
extern _CRTIMP2_PURE /* const */ _Dconst _Denorm, _Hugeval, _Inf,
_Nan, _Snan;
/* float DECLARATIONS */
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FCosh(float, float);
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FDivide(float, float);
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FDtest(float *);
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FLog(float, int);
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FRecip(float);
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSin(float, unsigned int);
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinx(float, unsigned int, int);
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float, float);
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short);
extern _CRTIMP2_PURE /* const */ _Dconst _FDenorm, _FInf, _FNan, _FSnan;
/* long double DECLARATIONS */
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LCosh(long double, long double);
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LDivide(long double, long double);
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *);
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LLog(long double, int);
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LRecip(long double);
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSin(long double, unsigned int);
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinx(long double, unsigned int, int);
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinh(long double, long double);
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LExp(long double *, long double, short);
extern _CRTIMP2_PURE /* const */ _Dconst _LDenorm, _LInf, _LNan, _LSnan;
#if !defined(MRTDLL) || !defined(_CRTBLD)
#ifndef _M_CEE_PURE
_END_C_LIB_DECL
#endif /* _M_CEE_PURE */
#endif /* !MRTDLL || !_CRTBLD */
#pragma pop_macro("new")
#pragma warning(pop)
#pragma pack(pop)
_C_STD_END
#endif /* RC_INVOKED */
#endif /* _YMATH */
/*
* Copyright (c) 1992-2012 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
V6.00:0009 */