uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
s_matherr.c
Go to the documentation of this file.
1 
2 /* @(#)s_matherr.c 1.3 95/01/18 */
3 /*
4  * ====================================================
5  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6  *
7  * Developed at SunSoft, 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 "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 }