Commit 8ea21d9c authored by Ture Pålsson's avatar Ture Pålsson
Browse files

Define LPLONG as int32_t

parent 3de83eb1
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <math.h> #include <math.h>
#include <time.h> #include <time.h>
#include <float.h> #include <float.h>
#include <stdint.h>
#if defined(LPSINGLE) #if defined(LPSINGLE)
#define ZERO 0.0 #define ZERO 0.0
...@@ -48,13 +49,8 @@ typedef double REAL; ...@@ -48,13 +49,8 @@ typedef double REAL;
#endif #endif
#if defined(__LP64__) typedef int32_t LPLONG;
typedef int LPLONG; #define PLF PRIi32
#define PLF "d"
#else
typedef long LPLONG;
#define PLF "ld"
#endif
static REAL linpack (LPLONG nreps,int arsize); static REAL linpack (LPLONG nreps,int arsize);
static void matgen (REAL *a,int lda,int n,REAL *b,REAL *norma); static void matgen (REAL *a,int lda,int n,REAL *b,REAL *norma);
......
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