Changeset 41269 for trunk/Ohana/src/opihi/include/dvomath.h
- Timestamp:
- Feb 24, 2020, 3:19:09 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/dvomath.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/dvomath.h
r41165 r41269 6 6 # define OPIHI_NAME_SIZE 1024 7 7 8 /* OPIHI_FLT, OPIHI_INT and related are defined in libdvo/include/dvodb.h */ 9 8 10 # define NCHARS 256 9 // # define opihi_flt double10 // # define opihi_int int11 // NOTE: if opihi_int is changed to unsigned, all subtraction and negation operations12 // need to result in a float value (or 3 - 5 will yield the unexpected value 2^32 - 2)13 11 14 12 # define REQUIRE_VECTOR_FLT(VECT,RVAL) { \ … … 26 24 enum {ANYVECTOR, NEWVECTOR, OLDVECTOR}; 27 25 enum {ANYBUFFER, NEWBUFFER, OLDBUFFER}; 28 #ifdef NOT_MOVED_TO_LIBDVO29 enum {OPIHI_FLT, OPIHI_INT};30 #endif31 26 32 27 typedef struct { /* representation of a variable (0-D) */ … … 40 35 union { 41 36 void *Ptr; 37 char **Str; 42 38 opihi_flt *Flt; 43 39 opihi_int *Int;
Note:
See TracChangeset
for help on using the changeset viewer.
