<commit_before>//
// Decimator
//

#include <math.h>
#include <stdlib.h>

#include "decim_internal.h"
#include "firdes.h"

// Print
void decim_print(decim _d)
{
    printf("decimator object:\n");
    printf("\tD\t: %u\n", _d->D);
    printf("\tfc\t: %5.2f\n", _d->fc);
    printf("\tb\t: %5.2f\n", _d->b);
    printf("\tt\t: %5.2f\n", _d->t);
    printf("\tslsl\t: %5.2f\n", _d->slsl);
    printf("\th\t: %u taps\n", _d->h_len);
}

// Debug print
void decim_debug_print(decim _d)
{
    decim_print(_d);
    unsigned int i;
    for (i=0; i<_d->h_len; i++)<commit_msg>including <stdio.h> to keep compiler happy<commit_after>//
// Decimator
//

#include <math.h>
#include <stdlib.h>
#include <stdio.h>

#include "decim_internal.h"
#include "firdes.h"

// Print
void decim_print(decim _d)
{
    printf("decimator object:\n");
    printf("\tD\t: %u\n", _d->D);
    printf("\tfc\t: %5.2f\n", _d->fc);
    printf("\tb\t: %5.2f\n", _d->b);
    printf("\tt\t: %5.2f\n", _d->t);
    printf("\tslsl\t: %5.2f\n", _d->slsl);
    printf("\th\t: %u taps\n", _d->h_len);
}

// Debug print
void decim_debug_print(decim _d)
{
    decim_print(_d);
    unsigned int i;
    for (i=0; i<_d->h_len; i++)
{'fraction_non_alphanumeric': 0.24152542372881355, 'fraction_numerical': 0.015254237288135594, 'mean_word_length': 3.0170068027210886, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 23, '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': '4516807', 'n_tokens_mistral': 562, 'n_tokens_neox': 553, 'n_words': 102}