diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2011-04-21 13:54:32 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2011-04-21 13:54:32 +0000 |
commit | e039bfa43d7c30c40ba1d909c57eb388a6406ac6 (patch) | |
tree | 1c15fb9ebaa79e885247e73ac7ca0336b8c01190 | |
parent | 3dcd4d96deb2529d674a5ae9289283784964a112 (diff) |
Provide reasonable gdtoa headers.
ok kettenis@
-rw-r--r-- | lib/libc/arch/hppa64/gdtoa/arith.h | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/gdtoa/gd_qnan.h | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/lib/libc/arch/hppa64/gdtoa/arith.h b/lib/libc/arch/hppa64/gdtoa/arith.h index cf004954182..e1954befb99 100644 --- a/lib/libc/arch/hppa64/gdtoa/arith.h +++ b/lib/libc/arch/hppa64/gdtoa/arith.h @@ -1 +1,3 @@ -/* TODO: put the proper definitions here. */ +#define IEEE_MC68k +#define Arith_Kind_ASL 2 +#define Double_Align diff --git a/lib/libc/arch/hppa64/gdtoa/gd_qnan.h b/lib/libc/arch/hppa64/gdtoa/gd_qnan.h index cf004954182..7956000880b 100644 --- a/lib/libc/arch/hppa64/gdtoa/gd_qnan.h +++ b/lib/libc/arch/hppa64/gdtoa/gd_qnan.h @@ -1 +1,12 @@ -/* TODO: put the proper definitions here. */ +#define f_QNAN 0x7fa00000 +#define d_QNAN0 0x7ff40000 +#define d_QNAN1 0x0 +#define ld_QNAN0 0x7ff40000 +#define ld_QNAN1 0x0 +#define ld_QNAN2 0x0 +#define ld_QNAN3 0x0 +#define ldus_QNAN0 0x7ff4 +#define ldus_QNAN1 0x0 +#define ldus_QNAN2 0x0 +#define ldus_QNAN3 0x0 +#define ldus_QNAN4 0x0 |