math.h (110566) | math.h (110734) |
---|---|
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 110566 2003-02-08 20:37:55Z mike $ | 14 * $FreeBSD: head/lib/msun/src/math.h 110734 2003-02-11 21:56:21Z mike $ |
15 */ 16 17#ifndef _MATH_H_ 18#define _MATH_H_ 19 20#include <sys/_types.h> 21 22/* --- 22 unchanged lines hidden (view full) --- 45#define FP_NAN 2 46#define FP_NORMAL 3 47#define FP_SUBNORMAL 4 48#define FP_ZERO 5 49#define fpclassify(x) \ 50 ((sizeof (x) == sizeof (float)) ? __fpclassifyf(x) \ 51 : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \ 52 : __fpclassifyl(x)) | 15 */ 16 17#ifndef _MATH_H_ 18#define _MATH_H_ 19 20#include <sys/_types.h> 21 22/* --- 22 unchanged lines hidden (view full) --- 45#define FP_NAN 2 46#define FP_NORMAL 3 47#define FP_SUBNORMAL 4 48#define FP_ZERO 5 49#define fpclassify(x) \ 50 ((sizeof (x) == sizeof (float)) ? __fpclassifyf(x) \ 51 : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \ 52 : __fpclassifyl(x)) |
53#define signbit(x) __signbit(x) |
|
53 54typedef __double_t double_t; 55typedef __float_t float_t; 56 57/* 58 * XOPEN/SVID 59 */ 60#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) --- 81 unchanged lines hidden (view full) --- 142 */ 143__BEGIN_DECLS 144/* 145 * ANSI/POSIX 146 */ 147int __fpclassifyd(double); 148int __fpclassifyf(float); 149int __fpclassifyl(long double); | 54 55typedef __double_t double_t; 56typedef __float_t float_t; 57 58/* 59 * XOPEN/SVID 60 */ 61#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) --- 81 unchanged lines hidden (view full) --- 143 */ 144__BEGIN_DECLS 145/* 146 * ANSI/POSIX 147 */ 148int __fpclassifyd(double); 149int __fpclassifyf(float); 150int __fpclassifyl(long double); |
151int __signbit(double); |
|
150 151double acos(double); 152double asin(double); 153double atan(double); 154double atan2(double, double); 155double cos(double); 156double sin(double); 157double tan(double); --- 171 unchanged lines hidden --- | 152 153double acos(double); 154double asin(double); 155double atan(double); 156double atan2(double, double); 157double cos(double); 158double sin(double); 159double tan(double); --- 171 unchanged lines hidden --- |