<commit_before>/*
  Polynomial approximations to trig functions.
  Downloaded from http://www.ganssle.com/approx/sincos.cpp
  See http://www.ganssle.com/approx/approx.pdf for details.
 */

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
//using namespace std;

#define TRUE 1
#define FALSE 0

// Math constants we'll use
// double const pi=3.1415926535897932384626433;	// pi
#ifndef M_PI
#define M_PI 3.1415926535897932384626433
#endif
static const double pi=M_PI;
static const double twopi=2.0*M_PI;			// pi times 2
static const double two_over_pi= 2.0/M_PI;		// 2/pi
static const double halfpi=M_PI/2.0;			// pi divided by 2
static const double threehalfpi=3.0*M_PI/2.0;  	// pi times 3/2, used in tan routines
static const double four_over_pi=4.0/M_PI;		// 4/pi, used in tan routines
static const double qtrpi=M_PI/4.0;			// pi/4.0, used in tan routines
static const double sixthpi=M_PI/6.0;			// pi/6.0, used in atan routines
static const double tansixthpi=0.57735026918962562;	// tan(pi/6), used in atan routines
static const double twelfthpi=M_PI/12.0;		// pi/12.0, used in atan routines
static const double tantwelfthpi=0.2679491924311227;	// tan(pi/12), used in atan routines

// *********************************************************
// ***<commit_msg>comment out unused variables<commit_after>/*
  Polynomial approximations to trig functions.
  Downloaded from http://www.ganssle.com/approx/sincos.cpp
  See http://www.ganssle.com/approx/approx.pdf for details.
 */

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
//using namespace std;

#define TRUE 1
#define FALSE 0

// Math constants we'll use
// double const pi=3.1415926535897932384626433;	// pi
#ifndef M_PI
#define M_PI 3.1415926535897932384626433
#endif
static const double pi=M_PI;
static const double twopi=2.0*M_PI;			// pi times 2
static const double two_over_pi= 2.0/M_PI;		// 2/pi
static const double halfpi=M_PI/2.0;			// pi divided by 2
static const double threehalfpi=3.0*M_PI/2.0;  	// pi times 3/2, used in tan routines
static const double four_over_pi=4.0/M_PI;		// 4/pi, used in tan routines
// static const double qtrpi=M_PI/4.0;			// pi/4.0, used in tan routines
static const double sixthpi=M_PI/6.0;			// pi/6.0, used in atan routines
static const double tansixthpi=0.57735026918962562;	// tan(pi/6), used in atan routines
// static const double twelfthpi=M_PI/12.0;		// pi/12.0, used in atan routines
static const double tantwelfthpi=0.2679491924311227;	// tan(pi/12), used in atan routines

// *********************************************************
// ***
{'fraction_non_alphanumeric': 0.160498636540709, 'fraction_numerical': 0.09661082976236852, 'mean_word_length': 3.900763358778626, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5723672', 'n_tokens_mistral': 1104, 'n_tokens_neox': 947, 'n_words': 267}