Commit 96c7d965 authored by D'azevedo, Ed's avatar D'azevedo, Ed
Browse files

option for c99

parent a013af4f
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -8,7 +8,11 @@ typedef int IntegerType;
   #include <complex.h>
   typedef double _Complex FpType;

  #if defined(__cplusplus)
     #define makeFloat(zr,zi)  ((FpType) { (zr), (zi) })
  #else
     #define makeFloat(zr,zi)  ((FpType) ((zr) + I * (zi)))
  #endif

  

@@ -16,7 +20,11 @@ typedef int IntegerType;
   #include <complex.h>
   typedef float _Complex FpType;

  #if defined(__cplusplus)
     #define makeFloat(zr,zi)  ((FpType) { (zr), (zi) })
  #else
     #define makeFloat(zr,zi)  ((FpType) ((zr) + I * (zi)))
  #endif


#elif defined(USE_FLOAT)
+2 −2
Original line number Diff line number Diff line
# CC=gcc -std=c99
CC=gcc -std=c99
CXX=g++ -std=c++11
CC=$(CXX)
#CC=$(CXX)
CFLAGS=-Wall  -O3  -fopenmp -UUSE_MAGMA -DUSE_COMPLEX_C
LIBS=-llapack -lblas -lm
+2 −2
Original line number Diff line number Diff line
# CC=gcc -std=c99
CC=gcc -std=c99
CXX=g++ -std=c++11
CC=$(CXX)
#CC=$(CXX)
CFLAGS=-Wall  -O3  -fopenmp -UUSE_MAGMA -DUSE_COMPLEX_Z
LIBS=-llapack -lblas -lm