pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Macros | Functions
pcmk__scan_double_test.c File Reference
#include <crm_internal.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
#include <float.h>
#include <math.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_float_equal(a, b, epsilon)   assert_true(fabs((a) - (b)) < (epsilon))
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

◆ assert_float_equal

#define assert_float_equal (   a,
  b,
  epsilon 
)    assert_true(fabs((a) - (b)) < (epsilon))

Definition at line 29 of file pcmk__scan_double_test.c.

◆ LOCAL_BUF_SIZE

#define LOCAL_BUF_SIZE   2 * DBL_MAX_10_EXP

Definition at line 22 of file pcmk__scan_double_test.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 149 of file pcmk__scan_double_test.c.