/* $NetBSD: math.h,v 1.10 2024/10/30 15:56:12 riastradh Exp $ */ #ifndef _VAX_MATH_H_ #define _VAX_MATH_H_ #include #include #if __GNUC_PREREQ__(3, 3) #define __INFINITY __builtin_huge_valf() #else #define __INFINITY 1.0E+39F #endif static __inline int __isinf(double __x __unused) { return 0; } static __inline int __isnan(double __x __unused) { return 0; } #define __HAVE_INLINE___ISINF #define __HAVE_INLINE___ISNAN #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \ !defined(_XOPEN_SOURCE) || \ ((__STDC_VERSION__ - 0) >= 199901L) || \ ((_POSIX_C_SOURCE - 0) >= 200112L) || \ ((_XOPEN_SOURCE - 0) >= 600) || \ defined(_ISOC99_SOURCE) || defined(_NETBSD_SOURCE) /* 7.12#6 number classification macros; machine-specific classes */ #define FP_DIRTYZERO 0x80 #define FP_ROP 0x81 #endif #endif /* _VAX_MATH_H_ */