MeVisLab Toolbox Reference
mlMath.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2013, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_MATH_H
14 #define ML_MATH_H
15 
17 
18 #include "mlUtilsSystem.h"
19 
20 ML_UTILS_START_NAMESPACE
21 
22 ML_UTILS_EXPORT float roundf(float x);
23 ML_UTILS_EXPORT double round(double x);
24 
25 ML_UTILS_EXPORT int iroundf(float x);
26 ML_UTILS_EXPORT int iround(double x);
27 
28 ML_UTILS_EXPORT long lroundf(float x);
29 ML_UTILS_EXPORT long lround(double x);
30 
31 ML_UTILS_END_NAMESPACE
32 
33 #endif // __mlMath_H
#define ML_UTILS_EXPORT
Defines platform dependent DLL export macro for mlUtils.
Definition: mlUtilities.h:20
ML_UTILS_EXPORT float roundf(float x)
ML_UTILS_EXPORT long lroundf(float x)
ML_UTILS_EXPORT int iround(double x)
ML_UTILS_EXPORT int iroundf(float x)
ML_UTILS_EXPORT long lround(double x)
ML_UTILS_EXPORT double round(double x)