Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  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. #if defined(LIBM_SCCS) && !defined(lint)
  15. static char rcsid[] = "$Id: s_matherr.c,v 1.4 1994/08/10 20:32:52 jtc Exp $";
  16. #endif
  17.  
  18. #include "math.h"
  19. #include "math_private.h"
  20.  
  21. #ifdef __STDC__
  22.         int matherr(struct exception *x)
  23. #else
  24.         int matherr(x)
  25.         struct exception *x;
  26. #endif
  27. {
  28.         int n=0;
  29.         if(x->arg1!=x->arg1) return 0;
  30.         return n;
  31. }
  32.