<commit_before>/**
 *  @file   primesieve.h
 *  @brief  primesieve C API. primesieve is a library for fast prime
 *          number generation. In case of an error all functions set
 *          errno to EDOM and functions that have a uint64_t return
 *          type return UINT64_MAX (= PRIMESIEVE_ERROR).
 * 
 *  Copyright (C) 2015 <NAME>, <<EMAIL>>
 * 
 *  This file is distributed under the BSD License. See the COPYING
 *  file in the top level directory.
 */

#ifndef PRIMESIEVE_H
#define PRIMESIEVE_H

#define PRIMESIEVE_VERSION "5.5.0"
#define PRIMESIEVE_VERSION_MAJOR 5
#define PRIMESIEVE_VERSION_MINOR 5
#define PRIMESIEVE_VERSION_PATCH 0

#include <primesieve/primesieve_iterator.h>
#include <stdint.h>
#include <stddef.h>

/** primesieve functions return PRIMESIEVE_ERROR
 *  (UINT64_MAX) if any error occurs.
 */
#define PRIMESIEVE_ERROR ((uint64_t)~((uint64_t)0))

#ifdef __cplusplus
extern "C" {
#endif

enum {
  /** Use all CPU cores for prime sieving. */
  MAX_THREADS = - 1,<commit_msg>Remove COPYING comment<commit_after>/**
 *  @file   primesieve.h
 *  @brief  primesieve C API. primesieve is a library for fast prime
 *          number generation. In case an error occurs errno is set to
 *          EDOM and PRIMESIEVE_ERROR is returned.
 * 
 *  Copyright (C) 2015 <NAME>, <<EMAIL>>
 * 
 *  This file is distributed under the BSD License.
 */

#ifndef PRIMESIEVE_H
#define PRIMESIEVE_H

#define PRIMESIEVE_VERSION "5.5.0"
#define PRIMESIEVE_VERSION_MAJOR 5
#define PRIMESIEVE_VERSION_MINOR 5
#define PRIMESIEVE_VERSION_PATCH 0

#include <primesieve/primesieve_iterator.h>
#include <stdint.h>
#include <stddef.h>

/** primesieve functions return PRIMESIEVE_ERROR
 *  (UINT64_MAX) if any error occurs.
 */
#define PRIMESIEVE_ERROR ((uint64_t)~((uint64_t)0))

#ifdef __cplusplus
extern "C" {
#endif

enum {
  /** Use all CPU cores for prime sieving. */
  MAX_THREADS = - 1,
{'fraction_non_alphanumeric': 0.09725158562367865, 'fraction_numerical': 0.021141649048625793, 'mean_word_length': 3.829081632653061, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '7017233', 'n_tokens_mistral': 733, 'n_tokens_neox': 691, 'n_words': 202}