version 1.2, 1997/09/21 10:45:42 |
version 1.3, 1998/03/02 23:58:02 |
|
|
/* $OpenBSD$ */ |
|
/* $NetBSD: math.h,v 1.10 1994/10/26 00:56:05 cgd Exp $ */ |
|
|
|
/* |
/* |
* ==================================================== |
* ==================================================== |
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
|
|
*/ |
*/ |
|
|
/* |
/* |
* @(#)fdlibm.h 5.1 93/09/24 |
* from: @(#)fdlibm.h 5.1 93/09/24 |
|
* $Id$ |
*/ |
*/ |
|
|
#ifndef _MATH_H_ |
#ifndef _MATH_H_ |
|
|
#define _XOPEN_ fdlibm_xopen |
#define _XOPEN_ fdlibm_xopen |
#define _POSIX_ fdlibm_posix |
#define _POSIX_ fdlibm_posix |
|
|
|
#ifdef __LIBM_PRIVATE |
struct exception { |
struct exception { |
int type; |
int type; |
char *name; |
char *name; |
|
|
double arg2; |
double arg2; |
double retval; |
double retval; |
}; |
}; |
|
#endif |
|
|
#define HUGE MAXFLOAT |
#define HUGE MAXFLOAT |
|
|
|
|
extern double remainder __P((double, double)); |
extern double remainder __P((double, double)); |
extern double scalb __P((double, double)); |
extern double scalb __P((double, double)); |
|
|
|
#ifdef __LIBM_PRIVATE |
extern int matherr __P((struct exception *)); |
extern int matherr __P((struct exception *)); |
|
#endif |
|
|
/* |
/* |
* IEEE Test Vector |
* IEEE Test Vector |
|
|
extern float erfcf __P((float)); |
extern float erfcf __P((float)); |
extern float gammaf __P((float)); |
extern float gammaf __P((float)); |
extern float hypotf __P((float, float)); |
extern float hypotf __P((float, float)); |
|
extern int isinff __P((float)); |
extern int isnanf __P((float)); |
extern int isnanf __P((float)); |
extern int finitef __P((float)); |
extern int finitef __P((float)); |
extern float j0f __P((float)); |
extern float j0f __P((float)); |