Revision 200
zoom controls
utils.h | ||
---|---|---|
49 | 49 |
*/ |
50 | 50 |
int32_t max(int32_t a, int32_t b); |
51 | 51 |
|
52 |
/** |
|
53 |
* @brief Gets the minimum value out of two doubles. |
|
54 |
* @param a First value |
|
55 |
* @param b Second value |
|
56 |
* @return The minimum of the two values |
|
57 |
*/ |
|
58 |
double min_d(double a, double b); |
|
52 | 59 |
|
60 |
/** |
|
61 |
* @brief Gets the maximum value out of two doubles. |
|
62 |
* @param a First value |
|
63 |
* @param b Second value |
|
64 |
* @return The maximum of the two values |
|
65 |
*/ |
|
66 |
double max_d(double a, double b); |
|
67 |
|
|
68 |
|
|
53 | 69 |
#endif //UTILS_H_INCLUDED |
Also available in: Unified diff