GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ov-int64.cc
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2004-2017 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if defined (HAVE_CONFIG_H)
24 # include "config.h"
25 #endif
26 
27 #include <iostream>
28 #include <limits>
29 
30 #include "lo-ieee.h"
31 #include "lo-utils.h"
32 #include "mx-base.h"
33 #include "quit.h"
34 
35 #include "errwarn.h"
36 #include "oct-lvalue.h"
37 #include "oct-hdf5.h"
38 #include "ops.h"
39 #include "ov-base.h"
40 
41 #if defined (HAVE_HDF5)
42 # define HDF5_SAVE_TYPE H5T_NATIVE_INT64
43 #endif
44 
45 #include "ov-base-int.h"
46 #include "ov-base-int.cc"
47 #include "ov-int64.h"
48 #include "pr-output.h"
49 #include "variables.h"
50 
51 #include "byte-swap.h"
52 #include "ls-oct-text.h"
53 #include "ls-utils.h"
54 #include "ls-hdf5.h"
55 
56 // Prevent implicit instantiations on some systems (Windows, others?)
57 // that can lead to duplicate definitions of static data members.
58 
59 extern template class OCTINTERP_API octave_base_scalar<double>;
60 
62 
64 
65 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_int64_matrix,
66  "int64 matrix", "int64");
67 
69 
71 
72 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_int64_scalar,
73  "int64 scalar", "int64");
#define DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA(t, n, c)
Definition: ov-base.h:169
#define OCTINTERP_API
Definition: mexproto.h:69