SuperLU_DIST  4.0
superlu_dist on CPU and GPU clusters
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
f2c.h
Go to the documentation of this file.
1 /* f2c.h -- Standard Fortran to C header file */
2 
7 #include "Cnames.h"
8 
9 #ifndef F2C_INCLUDE
10 #define F2C_INCLUDE
11 
12 typedef int integer;
13 typedef int logical;
14 
15 typedef char *address;
16 typedef short int shortint;
17 typedef float real;
18 typedef double doublereal;
19 typedef struct { real r, i; } complex;
20 typedef struct { doublereal r, i; } doublecomplex;
21 typedef short int shortlogical;
22 typedef char logical1;
23 typedef char integer1;
24 /* typedef long long longint; */ /* system-dependent */
25 
26 #define TRUE_ (1)
27 #define FALSE_ (0)
28 
29 /* Extern is for use with -E */
30 #ifndef Extern
31 #define Extern extern
32 #endif
33 
34 #define abs(x) ((x) >= 0 ? (x) : -(x))
35 #define dabs(x) (doublereal)abs(x)
36 #define min(a,b) ((a) <= (b) ? (a) : (b))
37 #define max(a,b) ((a) >= (b) ? (a) : (b))
38 #define dmin(a,b) (doublereal)min(a,b)
39 #define dmax(a,b) (doublereal)max(a,b)
40 
41 #define VOID void
42 
43 #endif
char * address
Definition: f2c.h:15
doublereal r
Definition: f2c.h:20
char integer1
Definition: f2c.h:23
char logical1
Definition: f2c.h:22
short int shortlogical
Definition: f2c.h:21
int logical
Definition: f2c.h:13
double doublereal
Definition: f2c.h:18
int integer
Definition: f2c.h:12
short int shortint
Definition: f2c.h:16
float real
Definition: f2c.h:17
Definition: f2c.h:19
Definition: dcomplex.h:19
real r
Definition: f2c.h:19