38#ifndef Foam_primitives_uint_H
39#define Foam_primitives_uint_H
51#define MAXMIN(RetType, Type1, Type2) \
54inline RetType min(const Type1 s1, const Type2 s2) \
56 return (s1 < s2) ? s1 : s2; \
60inline RetType max(const Type1 s1, const Type2 s2) \
62 return (s2 < s1) ? s1 : s2; \
68MAXMIN(uint32_t, uint32_t, uint32_t)
69MAXMIN(uint64_t, uint64_t, uint32_t)
70MAXMIN(uint64_t, uint32_t, uint64_t)
71MAXMIN(uint64_t, uint64_t, uint64_t)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
#define MAXMIN(RetType, Type1, Type2)
unsigned int readUint(Istream &is)
Read unsigned int from stream.
MAXMIN(double, double, double) inline double pow(const double base
Raise base to the power expon.
16bit unsigned integer. I/O is done as an int32.