<commit_before>/**
 * @file cc.cc
 *
 * Implementations for bare-necessities FASTlib programming in C++.
 */

#include "cc.h"
#include "debug.h"
//#include "cc.h"
//#include "debug.h"

const double DBL_NAN = std::numeric_limits<double>::quiet_NaN();
const float FLT_NAN = std::numeric_limits<float>::quiet_NaN();
const double DBL_INF = std::numeric_limits<double>::infinity();
const float FLT_INF = std::numeric_limits<float>::infinity();

#if defined(DEBUG) || defined(PROFILE)

namespace cc__private {
  /** Hidden class that emits messages for debug and profile modes. */
  class InformDebug {
   public:
    InformDebug() {
      PROFILE_ONLY(NOTIFY_STAR("Profiling information available with:"));
      PROFILE_ONLY(NOTIFY_STAR("  gprof $THIS > prof.out && less prof.out"));
      DEBUG_ONLY(NOTIFY_STAR(
          "Program compiled with debug checks."));
    }
    ~InformDebug() {
      PROFILE_ONLY(NOTIFY_STAR("Profiling information available with:"));
      PROFILE_ONLY(NOTIFY_STAR("  gprof $THIS > prof.out && less prof.out"));
      DEBUG_ONLY(NOTIFY_STAR(
          "Program compiled with debug checks."));
    }
  };

  /** Global instance prints messages before and after computation. */
  InformDebug inform_debug;
};

#endif<commit_msg>No more notification for debug builds using this mechanism.<commit_after>/**
 * @file cc.cc
 *
 * Implementations for bare-necessities FASTlib programming in C++.
 */

#include "cc.h"
#include "debug.h"

const double DBL_NAN = std::numeric_limits<double>::quiet_NaN();
const float FLT_NAN = std::numeric_limits<float>::quiet_NaN();
const double DBL_INF = std::numeric_limits<double>::infinity();
const float FLT_INF = std::numeric_limits<float>::infinity();
{'fraction_non_alphanumeric': 0.13909994155464642, 'fraction_numerical': 0.0, 'mean_word_length': 4.65016501650165, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '7051351', 'n_tokens_mistral': 551, 'n_tokens_neox': 528, 'n_words': 134}