source:
PSPA/madxPSPA/src/mad_util.h
@
430
Last change on this file since 430 was 430, checked in by , 11 years ago | |
---|---|
File size: 242 bytes |
Line | |
---|---|
1 | #ifndef MAD_UTILS_H |
2 | #define MAD_UTILS_H |
3 | |
4 | // functions |
5 | |
6 | int intrac(void); |
7 | |
8 | // inliners |
9 | |
10 | static inline int |
11 | imax(int a, int b) { |
12 | return a > b ? a : b; |
13 | } |
14 | |
15 | static inline int |
16 | imin(int a, int b) { |
17 | return a < b ? a : b; |
18 | } |
19 | |
20 | #endif // MAD_UTILS_H |
21 |
Note: See TracBrowser
for help on using the repository browser.