source: PSPA/madxPSPA/src/mad_util.h @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 242 bytes
Line 
1#ifndef MAD_UTILS_H
2#define MAD_UTILS_H
3
4// functions
5
6int intrac(void);
7
8// inliners
9
10static inline int
11imax(int a, int b) {
12  return a > b ? a : b;
13}
14
15static inline int
16imin(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.