Introduce blasabs() to switch between abs() and labs() for INTERFACE64
This commit is contained in:
parent
933896a1d0
commit
40c068a875
2
common.h
2
common.h
|
@ -253,8 +253,10 @@ typedef unsigned long BLASULONG;
|
||||||
|
|
||||||
#ifdef USE64BITINT
|
#ifdef USE64BITINT
|
||||||
typedef BLASLONG blasint;
|
typedef BLASLONG blasint;
|
||||||
|
#define blasabs(x) labs(x)
|
||||||
#else
|
#else
|
||||||
typedef int blasint;
|
typedef int blasint;
|
||||||
|
#define blasabs(x) abs(x)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifdef USE64BITINT
|
#ifdef USE64BITINT
|
||||||
|
|
Loading…
Reference in New Issue