/* ymath.h internal header */ #ifndef _YMATH #define _YMATH #include #include #ifndef _YVALS #include #endif /* MACROS */ #define _FINITE -1 #define _INFCODE 1 #define _NANCODE 2 /* TYPE DEFINITIONS */ typedef union { unsigned short _W[5]; float _F; double _D; long double _L; } _Dconst; _C_LIB_DECL /* double DECLARATIONS */ double _Cosh(double, double); short _Dtest(double *); short _Exp(double *, double, short); double _Log(double, int); double _Sin(double, unsigned int); double _Sinh(double, double); extern const _Dconst _Denorm, _Hugeval, _Inf, _Nan, _Snan; /* float DECLARATIONS */ float _FCosh(float, float); short _FDtest(float *); short _FExp(float *, float, short); float _FLog(float, int); float _FSin(float, unsigned int); float _FSinh(float, float); extern const _Dconst _FDenorm, _FInf, _FNan, _FSnan; /* long double DECLARATIONS */ long double _LCosh(long double, long double); short _LDtest(long double *); short _LExp(long double *, long double, short); long double _LLog(long double, int); long double _LSin(long double, unsigned int); long double _LSinh(long double, long double); extern const _Dconst _LDenorm, _LInf, _LNan, _LSnan; _END_C_LIB_DECL #endif /* _YMATH */ /* * Copyright (c) 1995 by P.J. Plauger. ALL RIGHTS RESERVED. * Consult your license regarding permissions and restrictions. */