IUF-SDK-3
Interventional Ultrasound Library
iufUtil.h
Go to the documentation of this file.
1
#ifndef IUFLIBRARY_IUFUTIL_H
2
#define IUFLIBRARY_IUFUTIL_H
3
4
#include <
iufTypes.h
>
5
6
7
#define FLOAT_PRECISION (0.00001f)
8
//#define IUF_EQUAL_FLOAT(a,b) equalFloat(FLOAT_PRECISION*a,a,b)
9
#define IUF_EQUAL_FLOAT(a,b) (a == b)
10
11
IUF_BOOL
equalFloat
12
(
13
const
float
delta,
14
const
float
expected,
15
const
float
actual
16
);
17
#endif //IUFLIBRARY_IUFUTIL_H
iufTypes.h
equalFloat
IUF_BOOL equalFloat(const float delta, const float expected, const float actual)
Definition:
iufUtil.c:32
IUF_BOOL
int IUF_BOOL
Definition:
iufTypes.h:8
library
include
iufUtil.h
Generated by
1.8.13