math.h (189805) | math.h (209110) |
---|---|
1/* 2 * ==================================================== 3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 * 5 * Developed at SunPro, a Sun Microsystems, Inc. business. 6 * Permission to use, copy, modify, and distribute this 7 * software is freely granted, provided that this notice 8 * is preserved. 9 * ==================================================== 10 */ 11 12/* 13 * from: @(#)fdlibm.h 5.1 93/09/24 | 1/* 2 * ==================================================== 3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 * 5 * Developed at SunPro, a Sun Microsystems, Inc. business. 6 * Permission to use, copy, modify, and distribute this 7 * software is freely granted, provided that this notice 8 * is preserved. 9 * ==================================================== 10 */ 11 12/* 13 * from: @(#)fdlibm.h 5.1 93/09/24 |
14 * $FreeBSD: head/lib/msun/src/math.h 189805 2009-03-14 18:58:53Z das $ | 14 * $FreeBSD: head/lib/msun/src/math.h 209110 2010-06-12 17:32:05Z das $ |
15 */ 16 17#ifndef _MATH_H_ 18#define _MATH_H_ 19 20#include <sys/cdefs.h> 21#include <sys/_types.h> 22#include <machine/_limits.h> --- 69 unchanged lines hidden (view full) --- 92 ((sizeof (x) == sizeof (float)) ? __isfinitef(x) \ 93 : (sizeof (x) == sizeof (double)) ? __isfinite(x) \ 94 : __isfinitel(x)) 95#define isinf(x) \ 96 ((sizeof (x) == sizeof (float)) ? __isinff(x) \ 97 : (sizeof (x) == sizeof (double)) ? isinf(x) \ 98 : __isinfl(x)) 99#define isnan(x) \ | 15 */ 16 17#ifndef _MATH_H_ 18#define _MATH_H_ 19 20#include <sys/cdefs.h> 21#include <sys/_types.h> 22#include <machine/_limits.h> --- 69 unchanged lines hidden (view full) --- 92 ((sizeof (x) == sizeof (float)) ? __isfinitef(x) \ 93 : (sizeof (x) == sizeof (double)) ? __isfinite(x) \ 94 : __isfinitel(x)) 95#define isinf(x) \ 96 ((sizeof (x) == sizeof (float)) ? __isinff(x) \ 97 : (sizeof (x) == sizeof (double)) ? isinf(x) \ 98 : __isinfl(x)) 99#define isnan(x) \ |
100 ((sizeof (x) == sizeof (float)) ? isnanf(x) \ | 100 ((sizeof (x) == sizeof (float)) ? __isnanf(x) \ |
101 : (sizeof (x) == sizeof (double)) ? isnan(x) \ 102 : __isnanl(x)) 103#define isnormal(x) \ 104 ((sizeof (x) == sizeof (float)) ? __isnormalf(x) \ 105 : (sizeof (x) == sizeof (double)) ? __isnormal(x) \ 106 : __isnormall(x)) 107 108#ifdef __MATH_BUILTIN_RELOPS --- 65 unchanged lines hidden (view full) --- 174int __fpclassifyd(double) __pure2; 175int __fpclassifyf(float) __pure2; 176int __fpclassifyl(long double) __pure2; 177int __isfinitef(float) __pure2; 178int __isfinite(double) __pure2; 179int __isfinitel(long double) __pure2; 180int __isinff(float) __pure2; 181int __isinfl(long double) __pure2; | 101 : (sizeof (x) == sizeof (double)) ? isnan(x) \ 102 : __isnanl(x)) 103#define isnormal(x) \ 104 ((sizeof (x) == sizeof (float)) ? __isnormalf(x) \ 105 : (sizeof (x) == sizeof (double)) ? __isnormal(x) \ 106 : __isnormall(x)) 107 108#ifdef __MATH_BUILTIN_RELOPS --- 65 unchanged lines hidden (view full) --- 174int __fpclassifyd(double) __pure2; 175int __fpclassifyf(float) __pure2; 176int __fpclassifyl(long double) __pure2; 177int __isfinitef(float) __pure2; 178int __isfinite(double) __pure2; 179int __isfinitel(long double) __pure2; 180int __isinff(float) __pure2; 181int __isinfl(long double) __pure2; |
182int __isnanf(float) __pure2; |
|
182int __isnanl(long double) __pure2; 183int __isnormalf(float) __pure2; 184int __isnormal(double) __pure2; 185int __isnormall(long double) __pure2; 186int __signbit(double) __pure2; 187int __signbitf(float) __pure2; 188int __signbitl(long double) __pure2; 189 --- 300 unchanged lines hidden --- | 183int __isnanl(long double) __pure2; 184int __isnormalf(float) __pure2; 185int __isnormal(double) __pure2; 186int __isnormall(long double) __pure2; 187int __signbit(double) __pure2; 188int __signbitf(float) __pure2; 189int __signbitl(long double) __pure2; 190 --- 300 unchanged lines hidden --- |