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
21
22ML_UTILS_EXPORT float roundf(float x);
23ML_UTILS_EXPORT double round(double x);
24
26ML_UTILS_EXPORT int iround(double x);
27
29ML_UTILS_EXPORT long lround(double x);
30
32
33#endif // __mlMath_H
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#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)