Introduce blasabs() to switch between abs() and labs() for INTERFACE64

This commit is contained in:
Martin Kroeker 2018-08-04 20:07:59 +02:00 committed by GitHub
parent 933896a1d0
commit 40c068a875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -253,8 +253,10 @@ typedef unsigned long BLASULONG;
#ifdef USE64BITINT
typedef BLASLONG blasint;
#define blasabs(x) labs(x)
#else
typedef int blasint;
#define blasabs(x) abs(x)
#endif
#else
#ifdef USE64BITINT