<commit_before>#ifndef LIMB_H_
#define LIMB_H_

    /*
     * The functions defined in this header file do perform all operations as if
     * all limbs satisfy FULL_LIMB_PRECISION == 1. Higher-level code must
     * extract carries and reduce results to the actual base used.
     */

    #include <inttypes.h>
    #include <immintrin.h>
    #include "settings.h"

    #define LIMB_SIZE_IN_BYTES (LIMB_SIZE_IN_BITS / 8)
    #define LIMB_SIZE_IN_HEX   (LIMB_SIZE_IN_BITS / 4)

    #if LIMB_SIZE_IN_BITS == 32

        typedef uint32_t limb_building_block_t;
        #define PRI_LIMB PRIx32
        #define ALL_ONE  (0xffffffff)

    #elif LIMB_SIZE_IN_BITS == 64

        typedef uint64_t limb_building_block_t;
        #define PRI_LIMB PRIx64
        #define ALL_ONE  (0xffffffffffffffffULL)

    #endif

    #if SIMD_PARALLEL_WALKS

        typedef __m256i limb_t;

    #else /* SIMD_PARALLEL_WALKS */

        typedef limb_building_block_t limb_t;

    #endif /* SIMD_PARALLEL_WALKS */

    #define NUM_ENTRIES_IN_LIMB (sizeof(limb_t) / sizeof(limb_building_block_t))

    struct d_limb_t {
        limb_t lo;
        limb_t hi;
    };

    #if !FULL_LIMB_PRECISION
<commit_msg>ALL_ONE can now easily be defined as ((limb_building_block_t) -1)<commit_after>#ifndef LIMB_H_
#define LIMB_H_

    /*
     * The functions defined in this header file do perform all operations as if
     * all limbs satisfy FULL_LIMB_PRECISION == 1. Higher-level code must
     * extract carries and reduce results to the actual base used.
     */

    #include <inttypes.h>
    #include <immintrin.h>
    #include "settings.h"

    #define LIMB_SIZE_IN_BYTES (LIMB_SIZE_IN_BITS / 8)
    #define LIMB_SIZE_IN_HEX   (LIMB_SIZE_IN_BITS / 4)

    #if LIMB_SIZE_IN_BITS == 32

        typedef uint32_t limb_building_block_t;
        #define PRI_LIMB PRIx32

    #elif LIMB_SIZE_IN_BITS == 64

        typedef uint64_t limb_building_block_t;
        #define PRI_LIMB PRIx64

    #endif

    #if SIMD_PARALLEL_WALKS

        typedef __m256i limb_t;

    #else /* SIMD_PARALLEL_WALKS */

        typedef limb_building_block_t limb_t;

    #endif /* SIMD_PARALLEL_WALKS */

    #define NUM_ENTRIES_IN_LIMB (sizeof(limb_t) / sizeof(limb_building_block_t))
    #define ALL_ONE             ((limb_building_block_t) -1)

    struct d_limb_t {
        limb_t lo;
        limb_t hi;
    };

    #if !FULL_LIMB_PRECISION

{'fraction_non_alphanumeric': 0.07077051926298157, 'fraction_numerical': 0.01675041876046901, 'mean_word_length': 2.762204724409449, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '4676421', 'n_tokens_mistral': 990, 'n_tokens_neox': 871, 'n_words': 202}