<commit_before>/// @example previous_prime.cpp
/// This example shows how to iterate backwards over primes.

#include <primesieve.h>
#include <iostream>

int main()
{
  primesieve::iterator pi;
  pi.skip_to(2000);

  // backwards print the primes between 1000 and 2000  
  while (pi.previous_prime() > 1000)
    std::cout << pi.prime() << std::endl;

  return 0;
}
<commit_msg>Refactoring<commit_after>/// @example previous_prime.cpp
/// This example shows how to iterate backwards over primes.

#include <primesieve.h>
#include <iostream>

int main()
{
  primesieve::iterator pi;
  pi.skipto(2000);

  // backwards print the primes between 1000 and 2000  
  while (pi.previous_prime() > 1000)
    std::cout << pi.prime() << std::endl;

  return 0;
}

{'fraction_non_alphanumeric': 0.13581890812250333, 'fraction_numerical': 0.045272969374167776, 'mean_word_length': 3.789808917197452, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 9, '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': '92421', 'n_tokens_mistral': 284, 'n_tokens_neox': 242, 'n_words': 74}