/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) */ |
/shark/branches/xen/libc/arch/x86/libm/machine/endian.h |
---|
File deleted |
/shark/branches/xen/libc/arch/x86/libm/machine/infinity.c |
---|
20,7 → 20,7 |
*/ |
#include <math.h> |
#include <arch/math.h> |
/* bytes for +Infinity on a 387 */ |
char __infinity[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f }; |
/shark/branches/xen/libc/arch/x86/libm/machine/stub.c |
---|
21,7 → 21,7 |
#include <ll/i386/cons.h> |
#include <ll/stdlib.h> |
#include <arch/stdlib.h> |
#include <ll/sys/types.h> |
/* bytes for +Infinity on a 387 */ |
/shark/branches/xen/libc/arch/x86/libm/makefile |
---|
12,7 → 12,7 |
include $(BASE)/config.mk |
C_OPT += -I$(INCL)/ll -I. |
C_OPT += $(INCL)/ll -I. |
C_OPT += -Dlint -Wno-uninitialized -Wno-parentheses |
ASM_OPT += -Dlint -I. |
75,7 → 75,7 |
cleanall : clean |
echo # Kernel Dependency file > deps |
$(RM) (LIB_PATH)libhm.a |
$(RM) $(LIB_PATH)libhm.a |
#deps : $(OBJS:.o=.c) |
deps : makefile $(CFILES) |