math.h (22993) | math.h (28971) |
---|---|
1/* 2 * ==================================================== 3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 * 5 * Developed at SunPro, a Sun Microsystems, Inc. business. 6 * Permission to use, copy, modify, and distribute this 7 * software is freely granted, provided that this notice 8 * is preserved. 9 * ==================================================== 10 */ 11 12/* 13 * from: @(#)fdlibm.h 5.1 93/09/24 | 1/* 2 * ==================================================== 3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 * 5 * Developed at SunPro, a Sun Microsystems, Inc. business. 6 * Permission to use, copy, modify, and distribute this 7 * software is freely granted, provided that this notice 8 * is preserved. 9 * ==================================================== 10 */ 11 12/* 13 * from: @(#)fdlibm.h 5.1 93/09/24 |
14 * $Id$ | 14 * $Id: math.h,v 1.4 1997/02/22 15:10:54 peter Exp $ |
15 */ 16 17#ifndef _MATH_H_ 18#define _MATH_H_ 19 20/* 21 * ANSI/POSIX 22 */ --- 36 unchanged lines hidden (view full) --- 59 */ 60extern _LIB_VERSION_TYPE _LIB_VERSION; 61 62#define _IEEE_ fdlibm_ieee 63#define _SVID_ fdlibm_svid 64#define _XOPEN_ fdlibm_xopen 65#define _POSIX_ fdlibm_posix 66 | 15 */ 16 17#ifndef _MATH_H_ 18#define _MATH_H_ 19 20/* 21 * ANSI/POSIX 22 */ --- 36 unchanged lines hidden (view full) --- 59 */ 60extern _LIB_VERSION_TYPE _LIB_VERSION; 61 62#define _IEEE_ fdlibm_ieee 63#define _SVID_ fdlibm_svid 64#define _XOPEN_ fdlibm_xopen 65#define _POSIX_ fdlibm_posix 66 |
67#ifndef __cplusplus |
|
67struct exception { 68 int type; 69 char *name; 70 double arg1; 71 double arg2; 72 double retval; 73}; | 68struct exception { 69 int type; 70 char *name; 71 double arg1; 72 double arg2; 73 double retval; 74}; |
75#endif |
|
74 75#define HUGE MAXFLOAT 76 77/* 78 * set X_TLOSS = pi*2**52, which is possibly defined in <values.h> 79 * (one may replace the following line by "#include <values.h>") 80 */ 81 --- 63 unchanged lines hidden (view full) --- 145extern double asinh __P((double)); 146extern double atanh __P((double)); 147extern double cbrt __P((double)); 148extern double logb __P((double)); 149extern double nextafter __P((double, double)); 150extern double remainder __P((double, double)); 151extern double scalb __P((double, double)); 152 | 76 77#define HUGE MAXFLOAT 78 79/* 80 * set X_TLOSS = pi*2**52, which is possibly defined in <values.h> 81 * (one may replace the following line by "#include <values.h>") 82 */ 83 --- 63 unchanged lines hidden (view full) --- 147extern double asinh __P((double)); 148extern double atanh __P((double)); 149extern double cbrt __P((double)); 150extern double logb __P((double)); 151extern double nextafter __P((double, double)); 152extern double remainder __P((double, double)); 153extern double scalb __P((double, double)); 154 |
155#ifndef __cplusplus |
|
153extern int matherr __P((struct exception *)); | 156extern int matherr __P((struct exception *)); |
157#endif |
|
154 155/* 156 * IEEE Test Vector 157 */ 158extern double significand __P((double)); 159 160/* 161 * Functions callable from C, intended to support IEEE arithmetic. --- 112 unchanged lines hidden --- | 158 159/* 160 * IEEE Test Vector 161 */ 162extern double significand __P((double)); 163 164/* 165 * Functions callable from C, intended to support IEEE arithmetic. --- 112 unchanged lines hidden --- |