/shark/branches/xen/libc/arch/x86/libm/msun/src/w_cabs.c |
---|
5,7 → 5,7 |
* Placed into the Public Domain, 1994. |
*/ |
#include <math.h> |
#include "math.h" |
struct complex { |
double x; |
/shark/branches/xen/libc/arch/x86/libm/msun/src/math.h |
---|
92,7 → 92,7 |
#endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */ |
#include <sys/cdefs.h> |
#include <arch/sys/cdefs.h> |
__BEGIN_DECLS |
/* |
* ANSI/POSIX |
/shark/branches/xen/libc/arch/x86/libm/msun/src/s_ldexpf.c |
---|
19,7 → 19,7 |
#include "math.h" |
#include "math_private.h" |
#include <errno.h> |
#include <arch/errno.h> |
#ifdef __STDC__ |
float ldexpf(float value, int exp) |
/shark/branches/xen/libc/arch/x86/libm/msun/src/math_pri.h |
---|
17,8 → 17,8 |
#ifndef _MATH_PRIVATE_H_ |
#define _MATH_PRIVATE_H_ |
#include <machine/endian.h> |
#include <sys/types.h> |
#include <arch/endian.h> |
#include <ll/sys/types.h> |
/* The original fdlibm code used statements like: |
n0 = ((*(int*)&one)>>29)^1; * index of high word * |
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_scalbf.c |
---|
26,7 → 26,7 |
#include "math.h" |
#include "math_private.h" |
#include <errno.h> |
#include <arch/errno.h> |
#ifdef __STDC__ |
#ifdef _SCALB_INT |
/shark/branches/xen/libc/arch/x86/libm/msun/src/s_ldexp.c |
---|
16,7 → 16,7 |
#include "math.h" |
#include "math_private.h" |
#include <errno.h> |
#include <arch/errno.h> |
#ifdef __STDC__ |
double ldexp(double value, int exp) |
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_drem.c |
---|
5,7 → 5,7 |
* Placed into the Public Domain, 1994. |
*/ |
#include <math.h> |
#include "math.h" |
double |
drem(x, y) |
/shark/branches/xen/libc/arch/x86/libm/msun/src/math_private.h |
---|
17,8 → 17,8 |
#ifndef _MATH_PRIVATE_H_ |
#define _MATH_PRIVATE_H_ |
#include <machine/endian.h> |
#include <sys/types.h> |
#include <arch/endian.h> |
#include <ll/sys/types.h> |
/* The original fdlibm code used statements like: |
n0 = ((*(int*)&one)>>29)^1; * index of high word * |
/shark/branches/xen/libc/arch/x86/libm/msun/src/w_scalb.c |
---|
23,7 → 23,7 |
#include "math.h" |
#include "math_private.h" |
#include <errno.h> |
#include <arch/errno.h> |
#ifdef __STDC__ |
#ifdef _SCALB_INT |
/shark/branches/xen/libc/arch/x86/libm/msun/src/k_standa.c |
---|
16,7 → 16,7 |
#include "math.h" |
#include "math_private.h" |
#include <errno.h> |
#include <arch/errno.h> |
/* Undefine these if you're actually going to use the FreeBSD libc. */ |
#define _USE_WRITE |
26,7 → 26,7 |
#include <stdio.h> /* fputs(), stderr */ |
#define WRITE2(u,v) fputs(u, stderr) |
#else /* !defined(_USE_WRITE) */ |
#include <unistd.h> /* write */ |
#include <arch/unistd.h> /* write */ |
#define WRITE2(u,v) write(2, u, v) |
#undef fflush |
#endif /* !defined(_USE_WRITE) */ |