op-i8-i8.cc

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 1996-2012 John W. Eaton
00004 
00005 This file is part of Octave.
00006 
00007 Octave is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by the
00009 Free Software Foundation; either version 3 of the License, or (at your
00010 option) any later version.
00011 
00012 Octave is distributed in the hope that it will be useful, but WITHOUT
00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00015 for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Octave; see the file COPYING.  If not, see
00019 <http://www.gnu.org/licenses/>.
00020 
00021 */
00022 
00023 #ifdef HAVE_CONFIG_H
00024 #include <config.h>
00025 #endif
00026 
00027 #include "mx-i8nda-ui8.h"
00028 #include "mx-i8nda-i16.h"
00029 #include "mx-i8nda-ui16.h"
00030 #include "mx-i8nda-i32.h"
00031 #include "mx-i8nda-ui32.h"
00032 #include "mx-i8nda-i64.h"
00033 #include "mx-i8nda-ui64.h"
00034 
00035 #include "mx-i8nda-ui8nda.h"
00036 #include "mx-i8nda-i16nda.h"
00037 #include "mx-i8nda-ui16nda.h"
00038 #include "mx-i8nda-i32nda.h"
00039 #include "mx-i8nda-ui32nda.h"
00040 #include "mx-i8nda-i64nda.h"
00041 #include "mx-i8nda-ui64nda.h"
00042 
00043 #include "mx-i8-ui8nda.h"
00044 #include "mx-i8-i16nda.h"
00045 #include "mx-i8-ui16nda.h"
00046 #include "mx-i8-i32nda.h"
00047 #include "mx-i8-ui32nda.h"
00048 #include "mx-i8-i64nda.h"
00049 #include "mx-i8-ui64nda.h"
00050 
00051 #include "mx-i8nda-s.h"
00052 #include "mx-s-i8nda.h"
00053 
00054 #include "mx-i8nda-nda.h"
00055 #include "mx-nda-i8nda.h"
00056 
00057 #include "mx-i8-nda.h"
00058 #include "mx-nda-i8.h"
00059 
00060 #include "gripes.h"
00061 #include "oct-obj.h"
00062 #include "ov.h"
00063 #include "ov-int16.h"
00064 #include "ov-int32.h"
00065 #include "ov-int64.h"
00066 #include "ov-int8.h"
00067 #include "ov-uint16.h"
00068 #include "ov-uint32.h"
00069 #include "ov-uint64.h"
00070 #include "ov-uint8.h"
00071 #include "ov-scalar.h"
00072 #include "ov-float.h"
00073 #include "ov-complex.h"
00074 #include "ov-flt-complex.h"
00075 #include "ov-re-mat.h"
00076 #include "ov-flt-re-mat.h"
00077 #include "ov-cx-mat.h"
00078 #include "ov-flt-cx-mat.h"
00079 #include "ov-typeinfo.h"
00080 #include "ov-null-mat.h"
00081 #include "ops.h"
00082 #include "xdiv.h"
00083 #include "xpow.h"
00084 
00085 #include "op-int.h"
00086 
00087 OCTAVE_INT_OPS (int8)
00088 
00089 OCTAVE_MS_INT_ASSIGN_OPS (mui8, int8_, uint8_, uint8_)
00090 OCTAVE_MS_INT_ASSIGN_OPS (mi16, int8_, int16_, int16_)
00091 OCTAVE_MS_INT_ASSIGN_OPS (mui16, int8_, uint16_, uint16_)
00092 OCTAVE_MS_INT_ASSIGN_OPS (mi32, int8_, int32_, int32_)
00093 OCTAVE_MS_INT_ASSIGN_OPS (mui32, int8_, uint32_, uint32_)
00094 OCTAVE_MS_INT_ASSIGN_OPS (mi64, int8_, int64_, int64_)
00095 OCTAVE_MS_INT_ASSIGN_OPS (mui64, int8_, uint64_, uint64_)
00096 
00097 OCTAVE_MM_INT_ASSIGN_OPS (mmui8, int8_, uint8_, uint8_)
00098 OCTAVE_MM_INT_ASSIGN_OPS (mmi16, int8_, int16_, int16_)
00099 OCTAVE_MM_INT_ASSIGN_OPS (mmui16, int8_, uint16_, uint16_)
00100 OCTAVE_MM_INT_ASSIGN_OPS (mmi32, int8_, int32_, int32_)
00101 OCTAVE_MM_INT_ASSIGN_OPS (mmui32, int8_, uint32_, uint32_)
00102 OCTAVE_MM_INT_ASSIGN_OPS (mmi64, int8_, int64_, int64_)
00103 OCTAVE_MM_INT_ASSIGN_OPS (mmui64, int8_, uint64_, uint64_)
00104 
00105 OCTAVE_MIXED_INT_CMP_OPS (int8, uint8)
00106 OCTAVE_MIXED_INT_CMP_OPS (int8, int16)
00107 OCTAVE_MIXED_INT_CMP_OPS (int8, uint16)
00108 OCTAVE_MIXED_INT_CMP_OPS (int8, int32)
00109 OCTAVE_MIXED_INT_CMP_OPS (int8, uint32)
00110 OCTAVE_MIXED_INT_CMP_OPS (int8, int64)
00111 OCTAVE_MIXED_INT_CMP_OPS (int8, uint64)
00112 
00113 void
00114 install_i8_i8_ops (void)
00115 {
00116   OCTAVE_INSTALL_INT_OPS (int8);
00117 
00118   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui8, int8_, uint8_);
00119   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi16, int8_, int16_);
00120   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui16, int8_, uint16_);
00121   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi32, int8_, int32_);
00122   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui32, int8_, uint32_);
00123   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi64, int8_, int64_);
00124   OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui64, int8_, uint64_);
00125 
00126   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui8, int8_, uint8_);
00127   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi16, int8_, int16_);
00128   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui16, int8_, uint16_);
00129   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi32, int8_, int32_);
00130   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui32, int8_, uint32_);
00131   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi64, int8_, int64_);
00132   OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui64, int8_, uint64_);
00133 
00134   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, uint8);
00135   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, int16);
00136   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, uint16);
00137   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, int32);
00138   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, uint32);
00139   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, int64);
00140   OCTAVE_INSTALL_SM_INT_ASSIGNCONV (int8, uint64);
00141 
00142   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, uint8);
00143   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, int16);
00144   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, uint16);
00145   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, int32);
00146   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, uint32);
00147   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, int64);
00148   OCTAVE_INSTALL_MIXED_INT_CMP_OPS (int8, uint64);
00149 }
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines