<commit_before>// For conditions of distribution and use, see copyright notice in LICENSE

#pragma once

// types

#include <vector>
#include <list>

#if defined(unix) || defined(__APPLE__)
#include <cmath>
#include <limits>
// Gnu GCC has C99-standard macros as an extension but in some system there does not exist them so we define them by ourself.
template <class T> inline bool _finite(const T &f) { return f != std::numeric_limits<T>::infinity(); }
template <class T> inline bool _isnan(const T &f) { return f != f; }
#endif

// Use kNet/Types.h for fixed-width types instead of duplicating the code here.
#include <kNet/Types.h>

// Floating-point types
typedef float f32;
typedef double f64;

// Unsigned types
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned short ushort;
typedef unsigned long ulong;

// Special Tundra identifiers
typedef unsigned int entity_id_t;
typedef unsigned int component_id_t;

<commit_msg>CoreTypes.h cleanup.<commit_after>// For conditions of distribution and use, see copyright notice in LICENSE

#pragma once

// Use kNet/Types.h for fixed-width types instead of duplicating the code here.
#include <kNet/Types.h>

// Floating-point types
typedef float f32;
typedef double f64;

// Unsigned types
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned short ushort;
typedef unsigned long ulong;

// Special Tundra identifiers
typedef unsigned int entity_id_t;
typedef unsigned int component_id_t;

{'fraction_non_alphanumeric': 0.08254397834912043, 'fraction_numerical': 0.006765899864682003, 'mean_word_length': 4.666666666666667, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '1548407', 'n_tokens_mistral': 470, 'n_tokens_neox': 425, 'n_words': 187}