From: Paul K. <pki...@us...> - 2005-02-06 16:19:37
|
Update of /cvsroot/octave/octave-forge/FIXES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14919 Modified Files: randmtzig.c Log Message: Better handling of HAVE_X86? Fixes bad distribution for non-intel arch. Index: randmtzig.c =================================================================== RCS file: /cvsroot/octave/octave-forge/FIXES/randmtzig.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- randmtzig.c 8 Nov 2004 11:41:25 -0000 1.9 +++ randmtzig.c 6 Feb 2005 16:19:28 -0000 1.10 @@ -335,7 +335,7 @@ { const uint32_t lo = randi32(); const uint32_t hi = randi32()&0x1FFFFF; -#if defined(HAVE_X86) +#if HAVE_X86 uint64_t u; uint32_t *p = (uint32_t *)&u; p[0] = lo; @@ -350,7 +350,7 @@ { const uint32_t lo = randi32(); const uint32_t hi = randi32()&0x3FFFFF; -#if defined(HAVE_X86) +#if HAVE_X86 uint64_t u; uint32_t *p = (uint32_t *)&u; p[0] = lo; @@ -365,7 +365,7 @@ { const uint32_t lo = randi32(); const uint32_t hi = randi32(); -#if defined(HAVE_X86) +#if HAVE_X86 uint64_t u; uint32_t *p = (uint32_t *)&u; p[0] = lo; @@ -552,7 +552,7 @@ * have something to do with this. */ #if defined(ALLBITS) -# if defined(HAVE_X86) +# if HAVE_X86 /* 53-bit mantissa, 1-bit sign, x86 32-bit architecture */ double x; int si,idx; |