#include <itpp/base/stat.h>
Go to the source code of this file.
Namespaces | |
| namespace | itpp |
Classes | |
| class | itpp::Fix_Base |
| Base class for fixed-point data types. More... | |
Typedefs | |
| typedef long long | int64 |
| Typedef for signed 64-bit integer. | |
| typedef unsigned long long | uint64 |
| Typedef for unsigned 64-bit integer. | |
| typedef int64 | fixrep |
| Representation for fixed-point data types. | |
Enumerations | |
| enum | e_mode { TC, US } |
| Sign encoding modes (aligned with SystemC). More... | |
| enum | o_mode { SAT, SAT_ZERO, SAT_SYM, WRAP, WRAP_SM } |
| Overflow modes (aligned with SystemC). More... | |
| enum | q_mode { RND, RND_ZERO, RND_MIN_INF, RND_INF, RND_CONV, RND_CONV_ODD, TRN, TRN_ZERO } |
| Quantization modes (aligned with SystemC). More... | |
| enum | output_mode { OUTPUT_FIX, OUTPUT_FIX_SHIFT, OUTPUT_FLOAT, OUTPUT_FLOAT_SHIFT } |
| Output modes. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const output_mode &o) |
| Set output mode. | |
Variables | |
| const int | MAX_WORDLEN = 64 |
| Max word length. | |
| const uint64 | UINT64_POW2 [64] |
| Table for fast multiplication or division by 2^n. | |
| const double | DOUBLE_POW2 [128] |
| Table for fast multiplication by 2^(n-64). | |
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-------------------------------------------------------------------------
Definition in file fix_base.h.
Generated on Fri Jan 11 08:17:29 2008 for IT++ by Doxygen 1.3.9.1