<commit_before>/* winFuncs.h
   Definitions for missing math lib functions
   <NAME>, October 2007
   */

double fmax(double x, double y);
//long double fmaxl (long double x, long double y);
//float fmaxf (float x, float y);

double fmin(double x, double y);

double trunc(double x);
//long double truncl(long double x);
//float truncf(float x);

double erf(double x);
//long double erfl(long double x);
//float erff (float x);
//double erfc(double x);
//long double erfcl(long double x);
//float erfcf(float x;


// Define INFINITY and NAN
typedef union { unsigned char __c[4]; float __f; } __huge_valf_t;

# if __BYTE_ORDER == __BIG_ENDIAN
#  define __HUGE_VALF_bytes { 0x7f, 0x80, 0, 0 }
# endif
# if __BYTE_ORDER == __LITTLE_ENDIAN
#  define __HUGE_VALF_bytes { 0, 0, 0x80, 0x7f }
# endif

static __huge_valf_t __huge_valf = { __HUGE_VALF_bytes };
# define INFINITY  (__huge_valf.__f)


# if __BYTE_ORDER == __BIG_ENDIAN
#  define __nan_bytes   { 0x7f, 0xc0, 0, 0 }
# endif
# if __BYTE_ORDER == __LITTLE_ENDIAN
#  define __nan_bytes   { 0, 0, 0xc0, 0x7f }
# endif

static union { unsigned char __c[4]; float __d; } __nan_union;
# define NAN  (__nan_union.__d)
<commit_msg>Re #5 fixing samsmodels compilation on MSVC<commit_after>#if !defined(WINFUNCS_H)
#define WINFUNCS_H
/* winFuncs.h
   Definitions for missing math lib functions
   <NAME>, October 2007
   */

double fmax(double x, double y);
//long double fmaxl (long double x, long double y);
//float fmaxf (float x, float y);

double fmin(double x, double y);

double trunc(double x);
//long double truncl(long double x);
//float truncf(float x);

double erf(double x);
//long double erfl(long double x);
//float erff (float x);
//double erfc(double x);
//long double erfcl(long double x);
//float erfcf(float x;


// Define INFINITY and NAN
typedef union { unsigned char __c[4]; float __f; } __huge_valf_t;

# if __BYTE_ORDER == __BIG_ENDIAN
#  define __HUGE_VALF_bytes { 0x7f, 0x80, 0, 0 }
# endif
# if __BYTE_ORDER == __LITTLE_ENDIAN
#  define __HUGE_VALF_bytes { 0, 0, 0x80, 0x7f }
# endif

static __huge_valf_t __huge_valf = { __HUGE_VALF_bytes };
# define INFINITY  (__huge_valf.__f)


# if __BYTE_ORDER == __BIG_ENDIAN
#  define __nan_bytes   { 0x7f, 0xc0, 0, 0 }
# endif
# if __BYTE_ORDER == __LITTLE_ENDIAN
#  define __nan_bytes   { 0, 0, 0xc0, 0x7f }
# endif

static union { unsigned char __c[4]; float __d; } __nan_union;
# define NAN  (__nan_union.__d)

#endif
{'fraction_non_alphanumeric': 0.11713933415536375, 'fraction_numerical': 0.026715988491574187, 'mean_word_length': 4.156779661016949, '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': '968900', 'n_tokens_mistral': 1034, 'n_tokens_neox': 951, 'n_words': 290}