Changeset 41340 for trunk/Ohana/src/opihi/include/dvomath.h
- Timestamp:
- Apr 16, 2020, 1:54:47 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/dvomath.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/dvomath.h
r41269 r41340 6 6 # define OPIHI_NAME_SIZE 1024 7 7 8 /* OPIHI_FLT, OPIHI_INT and related are defined in libdvo/include/dvodb.h */9 10 8 # define NCHARS 256 9 // # define opihi_flt double 10 // # define opihi_int int 11 // NOTE: if opihi_int is changed to unsigned, all subtraction and negation operations 12 // need to result in a float value (or 3 - 5 will yield the unexpected value 2^32 - 2) 11 13 12 14 # define REQUIRE_VECTOR_FLT(VECT,RVAL) { \ … … 24 26 enum {ANYVECTOR, NEWVECTOR, OLDVECTOR}; 25 27 enum {ANYBUFFER, NEWBUFFER, OLDBUFFER}; 28 #ifdef NOT_MOVED_TO_LIBDVO 29 enum {OPIHI_FLT, OPIHI_INT}; 30 #endif 26 31 27 32 typedef struct { /* representation of a variable (0-D) */ … … 35 40 union { 36 41 void *Ptr; 37 char **Str;38 42 opihi_flt *Flt; 39 43 opihi_int *Int; … … 165 169 166 170 /* vector IO functions */ 167 int WriteVectorTableFITS PROTO((char *filename, char *extname, Header *extraheader,Vector **vec, int Nvec, int append, char *compress, char *format, int Ntile));171 int WriteVectorTableFITS PROTO((char *filename, char *extname, Vector **vec, int Nvec, int append, char *compress, char *format, int Ntile)); 168 172 Vector **ReadVectorTableFITS PROTO((char *filename, char *extname, int *Nvec)); 169 173
Note:
See TracChangeset
for help on using the changeset viewer.
