|
|
|
| 1 |
|
/* ymath.h internal header */ |
| 2 |
|
#pragma once |
| 3 |
|
#ifndef _YMATH |
| 4 |
|
#define _YMATH |
| 5 |
|
#include <yvals.h> |
| 6 |
|
_C_STD_BEGIN |
| 7 |
|
#ifndef _M_CEE_PURE |
| 8 |
|
_C_LIB_DECL |
| 9 |
|
#endif |
| 10 |
|
|
| 11 |
|
#ifdef _MSC_VER |
| 12 |
|
#pragma pack(push,_CRT_PACKING) |
| 13 |
|
#endif /* _MSC_VER */ |
| 14 |
|
|
| 15 |
|
/* MACROS FOR _Dtest RETURN (0 => ZERO) */ |
| 16 |
|
#define _DENORM (-2) /* C9X only */ |
| 17 |
|
#define _FINITE (-1) |
| 18 |
|
#define _INFCODE 1 |
| 19 |
|
#define _NANCODE 2 |
| 20 |
|
|
| 21 |
|
/* MACROS FOR _Feraise ARGUMENT */ |
| 22 |
|
#define _FE_DIVBYZERO 0x04 |
| 23 |
|
#define _FE_INEXACT 0x20 |
| 24 |
|
#define _FE_INVALID 0x01 |
| 25 |
|
#define _FE_OVERFLOW 0x08 |
| 26 |
|
#define _FE_UNDERFLOW 0x10 |
| 27 |
|
|
| 28 |
|
/* TYPE DEFINITIONS */ |
| 29 |
|
typedef union |
| 30 |
|
{ /* pun float types as integer array */ |
| 41 |
|
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Cosh(double, double); |
| 42 |
|
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Dtest(double *); |
| 43 |
|
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _Exp(double *, double, short); |
| 44 |
|
_CRTIMP2_PURE double __CLRCALL_PURE_OR_CDECL _Sinh(double, double); |
| 45 |
|
extern _CRTIMP2_PURE /* const */ _Dconst _Denorm, _Hugeval, _Inf, |
| 46 |
|
_Nan, _Snan; |
| 47 |
|
|
| 48 |
|
/* float DECLARATIONS */ |
| 49 |
|
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FCosh(float, float); |
| 50 |
|
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FDtest(float *); |
| 51 |
|
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _FExp(float *, float, short); |
| 52 |
|
_CRTIMP2_PURE float __CLRCALL_PURE_OR_CDECL _FSinh(float, float); |
| 53 |
|
extern _CRTIMP2_PURE /* const */ _Dconst _FDenorm, _FInf, _FNan, _FSnan; |
| 54 |
|
|
| 55 |
|
/* long double DECLARATIONS */ |
| 56 |
|
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LCosh(long double, long double); |
| 57 |
|
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LDtest(long double *); |
| 58 |
|
_CRTIMP2_PURE short __CLRCALL_PURE_OR_CDECL _LExp(long double *, long double, short); |
| 59 |
|
_CRTIMP2_PURE long double __CLRCALL_PURE_OR_CDECL _LSinh(long double, long double); |
| 60 |
|
extern _CRTIMP2_PURE /* const */ _Dconst _LDenorm, _LInf, _LNan, _LSnan; |
| 61 |
|
#ifndef _M_CEE_PURE |
| 62 |
|
_END_C_LIB_DECL |
| 63 |
|
#endif |
| 64 |
|
_C_STD_END |
| 65 |
|
|
| 66 |
|
#ifdef _MSC_VER |
| 67 |
|
#pragma pack(pop) |
| 68 |
|
#endif /* _MSC_VER */ |
| 69 |
|
|
| 70 |
|
#endif /* _YMATH */ |
| 71 |
|
|
| 72 |
|
/* |
| 73 |
|
* Copyright (c) 1992-2006 by P.J. Plauger. ALL RIGHTS RESERVED. |
| 74 |
|
* Consult your license regarding permissions and restrictions. |
| 75 |
|
V5.02:0009 */ |
| 76 |
|
|
|
|
|