source: trunk/sys/libm/s_matherr.c @ 132

Last change on this file since 132 was 1, checked in by alain, 8 years ago

First import

File size: 602 bytes
RevLine 
[1]1
2/* @(#)s_matherr.c 5.1 93/09/24 */
3/*
4 * ====================================================
5 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6 *
7 * Developed at SunPro, a Sun Microsystems, Inc. business.
8 * Permission to use, copy, modify, and distribute this
9 * software is freely granted, provided that this notice
10 * is preserved.
11 * ====================================================
12 */
13
14#include <libm/fdlibm.h>
15
16#ifdef __STDC__
17        int matherr(struct exception *x)
18#else
19        int matherr(x)
20        struct exception *x;
21#endif
22{
23        int n=0;
24        if(x->arg1!=x->arg1) return 0;
25        return n;
26}
Note: See TracBrowser for help on using the repository browser.