pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk__scan_double_test.c File Reference
#include <crm_internal.h>
#include <float.h>
#include <math.h>
#include <glib.h>
Include dependency graph for pcmk__scan_double_test.c:

Go to the source code of this file.

Macros

#define LOCAL_BUF_SIZE   2 * DBL_MAX_10_EXP
 
#define ASSERT_DBL_EQ(d1, d2)
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define ASSERT_DBL_EQ (   d1,
  d2 
)
Value:
g_assert_cmpfloat(fabs(d1 - d2), \
<, DBL_EPSILON);

Definition at line 23 of file pcmk__scan_double_test.c.

#define LOCAL_BUF_SIZE   2 * DBL_MAX_10_EXP

Definition at line 17 of file pcmk__scan_double_test.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 153 of file pcmk__scan_double_test.c.