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 via 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.