Annotation of OpenXM/src/kan96xx/plugin/cmotag.h, Revision 1.8
1.8 ! takayama 1: /* $OpenXM: OpenXM/src/kan96xx/plugin/cmotag.h,v 1.7 2021/03/12 06:45:55 takayama Exp $ */
1.1 maekawa 2: /* cmotag.h */
3: /* Never Use 0 as a CMO tag. */
1.5 takayama 4: /* If you add new CMO_*,
5: you need to make changes following the comment of cmo.c
6: and modify the two files:
7: OpenXM/doc/OpenXM-web/cmotag.h
1.7 takayama 8: OpenXM/doc/OpenXM-specs/?*.tex
1.8 ! takayama 9:
! 10: Do not forget to execute
! 11: make gen-cmotag.htmp
! 12: to update cmotag.htmp
1.5 takayama 13: */
1.6 noro 14: #include <string.h>
15:
1.5 takayama 16: #define LARGEID 0x7f000000 /* 2130706432 */
17: #define CMO_PRIVATE 0x7fff0000 /* 2147418112 */
1.1 maekawa 18: #define CMO_ERROR (LARGEID+1)
19: #define CMO_ERROR2 (LARGEID+2)
20: #define CMO_NULL 1
21: #define CMO_INT32 2
22: #define CMO_DATUM 3
23: #define CMO_STRING 4
24: #define CMO_MATHCAP 5
25:
1.3 takayama 26: #define CMO_ARRAY 16
1.1 maekawa 27: #define CMO_LIST 17
1.4 takayama 28: #define CMO_ATOM 18
1.1 maekawa 29: #define CMO_MONOMIAL32 19
30: /* #define CMO_ZZ_OLD 20 */
31: #define CMO_ZZ_OLD -20
32: #define CMO_QQ 21
33: #define CMO_ZERO 22
34: #define CMO_DMS 23 /* Distributed monomial system */
35: #define CMO_DMS_GENERIC 24
36: #define CMO_DMS_OF_N_VARIABLES 25
37: #define CMO_RING_BY_NAME 26
38: #define CMO_RECURSIVE_POLYNOMIAL 27
39: #define CMO_LIST_R 28
40: #define CMO_INT32COEFF 30
41: #define CMO_DISTRIBUTED_POLYNOMIAL 31
42: /* #define CMO_ZZ 32 */
43: #define CMO_ZZ 20
44: #define CMO_POLYNOMIAL_IN_ONE_VARIABLE 33
45: #define CMO_RATIONAL 34
46:
47: #define CMO_64BIT_MACHINE_DOUBLE 40
48: #define CMO_ARRAY_OF_64BIT_MACHINE_DOUBLE 41
49: #define CMO_128BIT_MACHINE_DOUBLE 42
50: #define CMO_ARRAY_OF_128BIT_MACHINE_DOUBLE 43
51:
52: #define CMO_BIGFLOAT 50
53: #define CMO_IEEE_DOUBLE_FLOAT 51
54:
55: #define CMO_INDETERMINATE 60
56: #define CMO_TREE 61
57: #define CMO_LAMBDA 62 /* for function definition */
58:
1.3 takayama 59:
60: #define CMO_START_SIGNATURE 0x7fabcd03
61: #define CMO_LOCAL_OBJECT 0x7fcdef03
62: #define CMO_LOCAL_OBJECT_ASIR (CMO_LOCAL_OBJECT+0)
63: #define CMO_LOCAL_OBJECT_SM1 (CMO_LOCAL_OBJECT+1)
64:
1.1 maekawa 65: /* end of cmotag.h */
66:
1.3 takayama 67: /* #define CMO 1024 It is defined in stackm.h. */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>