System integer.
More...
Go to the source code of this file.
|
| Foam |
| Namespace for OpenFOAM.
|
|
|
#define | MAXMIN(retType, type1, type2) |
|
|
int8_t | max (const int8_t s1, const int8_t s2) |
|
int8_t | min (const int8_t s1, const int8_t s2) |
|
int16_t | max (const int16_t s1, const int16_t s2) |
|
int16_t | min (const int16_t s1, const int16_t s2) |
|
int32_t | max (const int32_t s1, const int32_t s2) |
|
int32_t | min (const int32_t s1, const int32_t s2) |
|
int64_t | max (const int64_t s1, const int32_t s2) |
|
int64_t | min (const int64_t s1, const int32_t s2) |
|
int64_t | max (const int32_t s1, const int64_t s2) |
|
int64_t | min (const int32_t s1, const int64_t s2) |
|
int64_t | max (const int64_t s1, const int64_t s2) |
|
int64_t | min (const int64_t s1, const int64_t s2) |
|
int | readInt (Istream &) |
|
System integer.
Original source file int.H
- Source files
-
Definition in file int.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; \
}
int64_t min(const int64_t s1, const int64_t s2)
int64_t max(const int64_t s1, const int64_t s2)
Definition at line 46 of file int.H.