System uinteger.
More...
Go to the source code of this file.
|
| Foam |
| Namespace for OpenFOAM.
|
|
|
#define | MAXMIN(retType, type1, type2) |
|
|
uint8_t | max (const uint8_t s1, const uint8_t s2) |
|
uint8_t | min (const uint8_t s1, const uint8_t s2) |
|
uint16_t | max (const uint16_t s1, const uint16_t s2) |
|
uint16_t | min (const uint16_t s1, const uint16_t s2) |
|
uint32_t | max (const uint32_t s1, const uint32_t s2) |
|
uint32_t | min (const uint32_t s1, const uint32_t s2) |
|
uint64_t | max (const uint64_t s1, const uint32_t s2) |
|
uint64_t | min (const uint64_t s1, const uint32_t s2) |
|
uint64_t | max (const uint32_t s1, const uint64_t s2) |
|
uint64_t | min (const uint32_t s1, const uint64_t s2) |
|
uint64_t | max (const uint64_t s1, const uint64_t s2) |
|
uint64_t | min (const uint64_t s1, const uint64_t s2) |
|
unsigned int | readUint (Istream &) |
|
System uinteger.
Original source file uint.H
- Source files
-
Definition in file uint.H.
◆ MAXMIN
#define MAXMIN |
( |
|
retType, |
|
|
|
type1, |
|
|
|
type2 |
|
) |
| |
Value:\
inline retType
max(
const type1 s1,
const type2 s2) \
{ \
return (s1 > s2)? s1: s2; \
} \
\
inline retType
min(
const type1 s1,
const type2 s2) \
{ \
return (s1 < s2)? s1: s2; \
}
uint64_t min(const uint64_t s1, const uint64_t s2)
uint64_t max(const uint64_t s1, const uint64_t s2)
Definition at line 46 of file uint.H.