Forked from
Core Modules / dune-common
4174 commits behind the upstream repository.
Ansgar Burchardt
authored
Use the fixed-width integer types introduced in C++11 instead of making assumptions on the size of integers. The following changes were implemented: unsigned short used to store the bigunsignedint: Changed type to uint16_t. The implementation requires this to be a 16-bit type. int, unsigned int used to store intermediates: Changed type to (u)int_fast32_t. This is enough to hold sums, products or differences of two uint16_t integers. std::size_t used as parameter in constructor and arithmetic operators: Changed type to uintmax_t. Any unsigned integer type should be usable in conjunction with bigunsignedint. Return value of touint() member function: Changed type to uint_least32_t. The current implementation only returns the last two "digits" (of 16 bits each).
Name | Last commit | Last update |
---|---|---|
am | ||
bin | ||
cmake | ||
doc | ||
dune | ||
lib | ||
m4 | ||
share | ||
.gitignore | ||
.mailmap | ||
CMakeLists.txt | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
README | ||
README.SVN | ||
TODO | ||
config.h.cmake | ||
configure.ac | ||
dune-common.pc.in | ||
dune.module | ||
stamp-vc |