Commit be92c4c0 authored by Lynn Garren's avatar Lynn Garren
Browse files

work with drand48

parent a532afd1
......@@ -127,14 +127,14 @@ AC_REQUIRE_CPP
case "$target" in
*-*-win32*)
case "$CXX" in
cl) CXXFLAGS="-DWIN32 -O -GX -GR -MD";COPY_P="copy -p";;
cl) CXXFLAGS="-DWIN32 -O -EHsc -GX -GR -MD";COPY_P="copy -p";;
g++) CXXFLAGS="-O";COPY_P="copy -p";;
c++) CXXFLAGS="-O";COPY_P="copy -p";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
esac;;
*-*-cygwin*)
case "$CXX" in
cl) CXXFLAGS="-DWIN32 -O -GX -GR -MD";COPY_P="cp -p";;
cl) CXXFLAGS="-DWIN32 -O -EHsc -GX -GR -MD";COPY_P="cp -p";;
g++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";;
c++) CXXFLAGS="-O -ansi -pedantic -Wall";COPY_P="cp -p";;
*) echo UNEXPECTED CHOICE OF C++ COMPILER: $CXX
......
// -*- C++ -*-
// $Id: drand48.src,v 1.1.1.1 2003/07/15 20:15:05 garren Exp $
// $Id: drand48.src,v 1.1.1.1.2.1 2004/04/28 06:02:54 garren Exp $
// ---------------------------------------------------------------------------
//
// This code is based on a code extracted from GNU C Library 2.1.3 with
......@@ -22,12 +22,12 @@
#define IEEE754_DOUBLE_BIAS 0x3ff /* Added to exponent. */
#ifdef WIN32
#include <wtypes.h>
typedef ULONGLONG u_int64_t;
#else
//#ifdef WIN32
//#include <wtypes.h>
//typedef ULONGLONG u_int64_t;
//#else
typedef unsigned long long int u_int64_t;
#endif
//#endif
union ieee754_double {
double d;
......
# run gaussSpeed and gaussSmall interactively
# Applicable to each test program:
INCLUDES = -I../
LDADD = -L${top_builddir}/src @Random_LIBS@ # libraries to link, and whence
LDADD = ${top_builddir}/src/libCLHEP-@PACKAGE@-@VERSION@.la # libraries to link, and whence
# Identify executables needed during testing:
check_PROGRAMS = \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment