<commit_before>//#include <iostream>
#include <string>

class BigInteger {

	private:

	// constants used mainly for bit masking //

	// 32 bits of 1
	const unsigned long long half = 0b11111111111111111111111111111111;
	// 64 bits of 1
	const unsigned long long full = 0b1111111111111111111111111111111111111111111111111111111111111111;
	// 1 at 64th (index 63) (leftmost) bit
	const unsigned long long left = 0b1000000000000000000000000000000000000000000000000000000000000000;
	// number of digits in the number
	unsigned long long size;
	// array of digits in the number
	unsigned long long* digits;

	public:

	// Constructors //

	// creates a number of 'newSize' digits set to zero
	BigInteger(unsigned long long newSize);
	// creates a number of 'newSize' digits set to initNum
	BigInteger(unsigned long long initNum, unsigned long long newSize);
	// deep copy of rhs
	BigInteger(const BigInteger& rhs);
	~BigInteger();

	// Print Functions //

	// prints the entire number in hexadecimal
	void hexPrint() const;
	// prints, starting at the first non-zero digit, the number in binary
	void binPrint() const;
	// retrieves, in string form, digits at index 'digit'
	std::string binDigit(unsigned long long digit) const;
	// prints actual binary of number to file 'filename'
	void binDump(std::string filename) const;
<commit_msg>put my name on it<commit_after>//#include <iostream>
#include <string>

/*
Author:
<NAME>

Description:
Class for arbitrarily large number arithmetic
*/

class BigInteger {

	private:

	// constants used mainly for bit masking //

	// 32 bits of 1
	const unsigned long long half = 0b11111111111111111111111111111111;
	// 64 bits of 1
	const unsigned long long full = 0b1111111111111111111111111111111111111111111111111111111111111111;
	// 1 at 64th (index 63) (leftmost) bit
	const unsigned long long left = 0b1000000000000000000000000000000000000000000000000000000000000000;
	// number of digits in the number
	unsigned long long size;
	// array of digits in the number
	unsigned long long* digits;

	public:

	// Constructors //

	// creates a number of 'newSize' digits set to zero
	BigInteger(unsigned long long newSize);
	// creates a number of 'newSize' digits set to 'initNum'
	BigInteger(unsigned long long initNum, unsigned long long newSize);
	// deep copy of rhs
	BigInteger(const BigInteger& rhs);
	~BigInteger();

	// Print Functions //

	// prints the entire number in hexadecimal
	void hexPrint() const;
	// prints, starting at the first non-zero digit, the number in binary
	void binPrint() const;
	// retrieves, in string form, digits at index 'digit'
	std::string binDigit(unsigned long long digit) const;
	// prints actual binary of number to file 'filename'
	void binDump(std::string filename) const;

{'fraction_non_alphanumeric': 0.0813362381989833, 'fraction_numerical': 0.12636165577342048, 'mean_word_length': 4.159176029962547, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, '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': '4113197', 'n_tokens_mistral': 1099, 'n_tokens_neox': 747, 'n_words': 327}