The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cDomainIntegerBit.h>
file name: cDomainIntegerBit.h
System: C++
This class represents a domain for integer numbers. Copyright (C) LGPL3
2010 Betti Oesterholz
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation, either version 3 of the License, or 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This file contains the class for integer number Fib -domains. The representet domain is defined by the number of bits per number in the domain. If B is number of bits per number, the domain {-(2^(B-1)), ..., (2^(B-1)-1)} is the unscaled domain and if dScalingFactor is the scaling factor { -(2^(B-1)) * dScalingFactor, ..., (2^(B-1)-1) * dScalingFactor} is the scaled domain.