Home | History | Annotate | Line # | Download | only in include
      1  1.10  riastrad /*	$NetBSD: math.h,v 1.10 2024/10/30 15:56:12 riastradh Exp $	*/
      2   1.1    kleink 
      3   1.6      matt #ifndef _VAX_MATH_H_
      4   1.6      matt #define _VAX_MATH_H_
      5   1.6      matt 
      6   1.6      matt #include <sys/cdefs.h>
      7  1.10  riastrad #include <sys/featuretest.h>
      8   1.6      matt 
      9   1.6      matt #if __GNUC_PREREQ__(3, 3)
     10   1.6      matt #define	__INFINITY	__builtin_huge_valf()
     11   1.6      matt #else
     12   1.2    kleink #define	__INFINITY	1.0E+39F
     13   1.6      matt #endif
     14   1.3    kleink 
     15   1.9  christos static __inline int __isinf(double __x __unused) { return 0; }
     16   1.9  christos static __inline int __isnan(double __x __unused) { return 0; }
     17   1.7    martin #define	__HAVE_INLINE___ISINF
     18   1.7    martin #define	__HAVE_INLINE___ISNAN
     19   1.4    kleink 
     20   1.3    kleink #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
     21   1.3    kleink     !defined(_XOPEN_SOURCE) || \
     22   1.3    kleink     ((__STDC_VERSION__ - 0) >= 199901L) || \
     23   1.3    kleink     ((_POSIX_C_SOURCE - 0) >= 200112L) || \
     24   1.3    kleink     ((_XOPEN_SOURCE  - 0) >= 600) || \
     25   1.3    kleink     defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE)
     26   1.3    kleink /* 7.12#6 number classification macros; machine-specific classes */
     27   1.3    kleink #define	FP_DIRTYZERO	0x80
     28   1.3    kleink #define	FP_ROP		0x81
     29   1.3    kleink #endif
     30   1.6      matt 
     31   1.6      matt #endif /* _VAX_MATH_H_ */
     32