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