<commit_before>#include "test/jemalloc_test.h"

#define	MAX_REL_ERR 1.0e-9
#define	MAX_ABS_ERR 1.0e-9

#include <float.h>

#ifndef INFINITY
#define	INFINITY (DBL_MAX + DBL_MAX)
#endif

static bool
double_eq_rel(double a, double b, double max_rel_err, double max_abs_err)
{<commit_msg>Work around a weird pgi bug in test/unit/math.c<commit_after>#include "test/jemalloc_test.h"

#define	MAX_REL_ERR 1.0e-9
#define	MAX_ABS_ERR 1.0e-9

#include <float.h>

#ifdef __PGI
#undef INFINITY
#endif

#ifndef INFINITY
#define	INFINITY (DBL_MAX + DBL_MAX)
#endif

static bool
double_eq_rel(double a, double b, double max_rel_err, double max_abs_err)
{
{'fraction_non_alphanumeric': 0.10328638497652583, 'fraction_numerical': 0.018779342723004695, 'mean_word_length': 5.7368421052631575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6565226', 'n_tokens_mistral': 279, 'n_tokens_neox': 274, 'n_words': 66}