summaryrefslogtreecommitdiff
path: root/XBLAS/src/blas_extended_private.h
blob: 44645ca95dfc483d07527dd89521b3bd8f23ccf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef BLAS_EXTENDED_PRIVATE_H
#define BLAS_EXTENDED_PRIVATE_H

/* constants */
#define BITS_S  24
#define BITS_D  53
#define BITS_E  106

/* Split a double into 2 parts with at most 26 bits each. (2^27 + 1) */
#define split 	(134217729.0)

/* macros */
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
#define MIN(a,b) (((a) < (b)) ? (a) : (b))

#include "blas_fpu.h"

#endif /* BLAS_EXTENDED_PRIVATE_H */