Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
opm
core
utility
opm_memcmp_double.h
Go to the documentation of this file.
1
/*
2
Will compare all the elements in the two double pointers p1 and
3
p2. If all elements are 'sufficiently' the function will return 0,
4
otherwise it will return 1.
5
*/
6
7
#ifndef OPM_MEMCMP_DOUBLE_H
8
#define OPM_MEMCMP_DOUBLE_H
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
15
int
opm_memcmp_double
(
const
double
* p1 ,
const
double
*p2 ,
size_t
num_elements);
16
17
18
#ifdef __cplusplus
19
}
20
#endif
21
22
#endif
opm_memcmp_double
int opm_memcmp_double(const double *p1, const double *p2, size_t num_elements)