Introduction
Introduction Statistics Contact Development Disclaimer Help
tGet rid of 64-bit constants. - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 040d1d02f5b829f59e63123d7095aea7d04e372b
parent 709efa017c326a283328704fa82d81a99b639932
Author: rsc <devnull@localhost>
Date: Thu, 23 Sep 2004 03:05:40 +0000
Get rid of 64-bit constants.
Diffstat:
M src/lib9/fmt/nan64.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/lib9/fmt/nan64.c b/src/lib9/fmt/nan64.c
t@@ -19,9 +19,9 @@ static uvlong uvnan = 0x7FF0000000000001LL;
static uvlong uvinf = 0x7FF0000000000000LL;
static uvlong uvneginf = 0xFFF0000000000000LL;
#else
-static uvlong uvnan = 0x7FF0000000000001;
-static uvlong uvinf = 0x7FF0000000000000;
-static uvlong uvneginf = 0xFFF0000000000000;
+static uvlong uvnan = ((uvlong)0x7FF00000<<32)|0x00000001;
+static uvlong uvinf = ((uvlong)0x7FF00000<<32)|0x00000000;
+static uvlong uvneginf = ((uvlong)0xFFF00000<<32)|0x00000000;
#endif
double
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.