<commit_before>/**
 * \file
 * \brief Implementions of RL domains, Mountain Car (MC), HIV, and Bicycle.
 *
 * Copyright (c) 2008-2014 <NAME>.
 */
#include <vector>
#include <utility>
#include <cmath>
#include <string.h>

using namespace std;

#include "domain.h"

extern double rndInterval(double, double);

/** Returns the sign of a real number.
 * \param x The number whose sign we wish to extract.
 * \return The sign of \c x.
 */
double sign(double x) {
  if (x == 0.0) return 0.0;
  if (x < 0.0) return -1.0;<commit_msg>Use random.h<commit_after>/**
 * \file
 * \brief Implementions of RL domains, Mountain Car (MC), HIV, and Bicycle.
 *
 * Copyright (c) 2008-2014 <NAME>.
 */
#include <vector>
#include <utility>
#include <cmath>
#include <string.h>

using namespace std;

#include "domain.h"
#include "random.h"

/** Returns the sign of a real number.
 * \param x The number whose sign we wish to extract.
 * \return The sign of \c x.
 */
double sign(double x) {
  if (x == 0.0) return 0.0;
  if (x < 0.0) return -1.0;
{'fraction_non_alphanumeric': 0.15317073170731707, 'fraction_numerical': 0.03121951219512195, 'mean_word_length': 3.292887029288703, 'pattern_counts': {'":': 0, '<': 15, '<?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': '4116641', 'n_tokens_mistral': 389, 'n_tokens_neox': 366, 'n_words': 138}