Blame sysdeps/ieee754/s_matherr.c

Packit 6c4009
/* @(#)s_matherr.c 5.1 93/09/24 */
Packit 6c4009
/*
Packit 6c4009
 * ====================================================
Packit 6c4009
 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Packit 6c4009
 *
Packit 6c4009
 * Developed at SunPro, a Sun Microsystems, Inc. business.
Packit 6c4009
 * Permission to use, copy, modify, and distribute this
Packit 6c4009
 * software is freely granted, provided that this notice
Packit 6c4009
 * is preserved.
Packit 6c4009
 * ====================================================
Packit 6c4009
 */
Packit 6c4009
Packit 6c4009
#if defined(LIBM_SCCS) && !defined(lint)
Packit 6c4009
static char rcsid[] = "$NetBSD: s_matherr.c,v 1.6 1995/05/10 20:47:53 jtc Exp $";
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#include <math-svid-compat.h>
Packit 6c4009
Packit 6c4009
#undef matherr
Packit 6c4009
#if LIBM_SVID_COMPAT
Packit 6c4009
int
Packit 6c4009
weak_function
Packit 6c4009
__matherr(struct exception *x)
Packit 6c4009
{
Packit 6c4009
	int n=0;
Packit 6c4009
	if(x->arg1!=x->arg1) return 0;
Packit 6c4009
	return n;
Packit 6c4009
}
Packit 6c4009
compat_symbol (libm, __matherr, matherr, GLIBC_2_0);
Packit 6c4009
#endif