Mercurial > octave-nkf
comparison src/OPERATORS/op-ui64-ui64.cc @ 4953:7a3a480e8645
[project @ 2004-09-01 21:10:28 by jwe]
author | jwe |
---|---|
date | Wed, 01 Sep 2004 21:10:28 +0000 |
parents | f7a337f3fd9e |
children | 573d23f9c9cf |
comparison
equal
deleted
inserted
replaced
4952:bfd57b466752 | 4953:7a3a480e8645 |
---|---|
29 #endif | 29 #endif |
30 | 30 |
31 #include "gripes.h" | 31 #include "gripes.h" |
32 #include "oct-obj.h" | 32 #include "oct-obj.h" |
33 #include "ov.h" | 33 #include "ov.h" |
34 #include "ov-int16.h" | |
35 #include "ov-int32.h" | |
36 #include "ov-int64.h" | |
37 #include "ov-int8.h" | |
38 #include "ov-uint16.h" | |
39 #include "ov-uint32.h" | |
34 #include "ov-uint64.h" | 40 #include "ov-uint64.h" |
41 #include "ov-uint8.h" | |
42 #include "ov-scalar.h" | |
43 #include "ov-complex.h" | |
44 #include "ov-re-mat.h" | |
45 #include "ov-cx-mat.h" | |
35 #include "ov-typeinfo.h" | 46 #include "ov-typeinfo.h" |
36 #include "ops.h" | 47 #include "ops.h" |
37 #include "xdiv.h" | 48 #include "xdiv.h" |
38 #include "xpow.h" | 49 #include "xpow.h" |
39 | 50 |
40 #include "op-int.h" | 51 #include "op-int.h" |
41 | 52 |
42 OCTAVE_S_INT_UNOPS (uint64) | 53 OCTAVE_S_INT_UNOPS (uint64) |
43 OCTAVE_SS_INT_CMP_OPS (uint64, uint64) | 54 OCTAVE_SS_INT_CMP_OPS (ss, uint64_, uint64_) |
44 OCTAVE_SS_INT_BOOL_OPS (uint64, uint64) | 55 OCTAVE_SS_INT_BOOL_OPS (ss, uint64_, uint64_) |
45 | 56 |
46 OCTAVE_SM_INT_CMP_OPS (uint64, uint64) | 57 OCTAVE_SM_INT_CMP_OPS (sm, uint64_, uint64_) |
47 OCTAVE_SM_INT_BOOL_OPS (uint64, uint64) | 58 OCTAVE_SM_INT_BOOL_OPS (sm, uint64_, uint64_) |
48 | 59 |
49 OCTAVE_MS_INT_CMP_OPS (uint64, uint64) | 60 OCTAVE_MS_INT_CMP_OPS (ms, uint64_, uint64_) |
50 OCTAVE_MS_INT_BOOL_OPS (uint64, uint64) | 61 OCTAVE_MS_INT_BOOL_OPS (ms, uint64_, uint64_) |
62 OCTAVE_MS_INT_ASSIGN_OPS (ms, uint64_, uint64_, uint64_) | |
63 OCTAVE_MS_INT_ASSIGN_OPS (mx, uint64_, , ) | |
64 OCTAVE_MS_INT_ASSIGN_OPS (mc, uint64_, complex_, ) | |
51 | 65 |
52 OCTAVE_M_INT_UNOPS (uint64) | 66 OCTAVE_M_INT_UNOPS (uint64) |
53 OCTAVE_MM_INT_CMP_OPS (uint64, uint64) | 67 OCTAVE_MM_INT_CMP_OPS (uint64, uint64) |
54 OCTAVE_MM_INT_BOOL_OPS (uint64, uint64) | 68 OCTAVE_MM_INT_BOOL_OPS (uint64, uint64) |
55 OCTAVE_MM_INT_ASSIGN_OPS (uint64) | 69 OCTAVE_MM_INT_ASSIGN_OPS (mm, uint64_, uint64_, uint64_) |
70 OCTAVE_MM_INT_ASSIGN_OPS (mmx, uint64_, , ) | |
71 OCTAVE_MM_INT_ASSIGN_OPS (mmc, uint64_, complex_, ) | |
72 | |
73 OCTAVE_MS_INT_ASSIGN_OPS (mi8, uint64_, int8_, int8_) | |
74 OCTAVE_MS_INT_ASSIGN_OPS (mui8, uint64_, uint8_, uint8_) | |
75 OCTAVE_MS_INT_ASSIGN_OPS (mi16, uint64_, int16_, int16_) | |
76 OCTAVE_MS_INT_ASSIGN_OPS (mui16, uint64_, uint16_, uint16_) | |
77 OCTAVE_MS_INT_ASSIGN_OPS (mi32, uint64_, int32_, int32_) | |
78 OCTAVE_MS_INT_ASSIGN_OPS (mui32, uint64_, uint32_, uint32_) | |
79 OCTAVE_MS_INT_ASSIGN_OPS (mi64, uint64_, int64_, int64_) | |
80 | |
81 OCTAVE_MM_INT_ASSIGN_OPS (mmi8, uint64_, int8_, int8_) | |
82 OCTAVE_MM_INT_ASSIGN_OPS (mmui8, uint64_, uint8_, uint8_) | |
83 OCTAVE_MM_INT_ASSIGN_OPS (mmi16, uint64_, int16_, int16_) | |
84 OCTAVE_MM_INT_ASSIGN_OPS (mmui16, uint64_, uint16_, uint16_) | |
85 OCTAVE_MM_INT_ASSIGN_OPS (mmi32, uint64_, int32_, int32_) | |
86 OCTAVE_MM_INT_ASSIGN_OPS (mmui32, uint64_, uint32_, uint32_) | |
87 OCTAVE_MM_INT_ASSIGN_OPS (mmi64, uint64_, int64_, int64_) | |
56 | 88 |
57 void | 89 void |
58 install_ui64_ui64_ops (void) | 90 install_ui64_ui64_ops (void) |
59 { | 91 { |
60 OCTAVE_INSTALL_S_INT_UNOPS (uint64); | 92 OCTAVE_INSTALL_S_INT_UNOPS (uint64); |
61 OCTAVE_INSTALL_SS_INT_CMP_OPS (uint64, uint64); | 93 OCTAVE_INSTALL_SS_INT_CMP_OPS (ss, uint64_, uint64_); |
62 OCTAVE_INSTALL_SS_INT_BOOL_OPS (uint64, uint64); | 94 OCTAVE_INSTALL_SS_INT_BOOL_OPS (ss, uint64_, uint64_); |
63 | 95 |
64 OCTAVE_INSTALL_SM_INT_CMP_OPS (uint64, uint64); | 96 OCTAVE_INSTALL_SM_INT_CMP_OPS (sm, uint64_, uint64_); |
65 OCTAVE_INSTALL_SM_INT_BOOL_OPS (uint64, uint64); | 97 OCTAVE_INSTALL_SM_INT_BOOL_OPS (sm, uint64_, uint64_); |
66 | 98 |
67 OCTAVE_INSTALL_MS_INT_CMP_OPS (uint64, uint64); | 99 OCTAVE_INSTALL_MS_INT_CMP_OPS (ms, uint64_, uint64_); |
68 OCTAVE_INSTALL_MS_INT_BOOL_OPS (uint64, uint64); | 100 OCTAVE_INSTALL_MS_INT_BOOL_OPS (ms, uint64_, uint64_); |
101 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (ms, uint64_, uint64_); | |
102 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mx, uint64_, ); | |
103 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mc, uint64_, complex_); | |
69 | 104 |
70 OCTAVE_INSTALL_M_INT_UNOPS (uint64); | 105 OCTAVE_INSTALL_M_INT_UNOPS (uint64); |
71 OCTAVE_INSTALL_MM_INT_CMP_OPS (uint64, uint64); | 106 OCTAVE_INSTALL_MM_INT_CMP_OPS (uint64, uint64); |
72 OCTAVE_INSTALL_MM_INT_BOOL_OPS (uint64, uint64); | 107 OCTAVE_INSTALL_MM_INT_BOOL_OPS (uint64, uint64); |
73 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (uint64); | 108 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mm, uint64_, uint64_); |
109 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmx, uint64_, ); | |
110 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmc, uint64_, complex_); | |
111 | |
112 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi8, uint64_, int8_); | |
113 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui8, uint64_, uint8_); | |
114 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi16, uint64_, int16_); | |
115 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui16, uint64_, uint16_); | |
116 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi32, uint64_, int32_); | |
117 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui32, uint64_, uint32_); | |
118 OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi64, uint64_, int64_); | |
119 | |
120 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi8, uint64_, int8_); | |
121 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui8, uint64_, uint8_); | |
122 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi16, uint64_, int16_); | |
123 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui16, uint64_, uint16_); | |
124 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi32, uint64_, int32_); | |
125 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui32, uint64_, uint32_); | |
126 OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi64, uint64_, int64_); | |
74 } | 127 } |
75 | 128 |
76 /* | 129 /* |
77 ;;; Local Variables: *** | 130 ;;; Local Variables: *** |
78 ;;; mode: C++ *** | 131 ;;; mode: C++ *** |