<commit_before>// Algiebra - C++ library for mathematics
// (C) 2017 <NAME>. Licensed under BSD license

#include <cstdio>
#include <cstdlib>
#include "algiebra.h"

int getAbsolute(int a) {
	if (a<0)
	{
		a=a*(-1);
		return a;
	}
	return a;
}

int ExtEuclid(int a, int b) {
	int a0 = a, b0 = b;
	int p = 1, q = 0;
	int r = 0, s = 1;
	int c, quot, r_tmp, s_tmp;
	
	while (b != 0) {
		c = a%b;
		quot = getAbsolute(a/b);
		a = b;
		b = c;
		r_tmp = r;
		s_tmp = s;
		r = p - quot * r;<commit_msg>Get rid of unneeded getAbsolute() in ExtEuclid()<commit_after>// Algiebra - C++ library for mathematics
// (C) 2017 <NAME>. Licensed under BSD license

#include <cstdio>
#include <cstdlib>
#include "algiebra.h"

int getAbsolute(int a) {
	if (a<0)
	{
		a=a*(-1);
		return a;
	}
	return a;
}

int ExtEuclid(int a, int b) {
	int a0 = a, b0 = b;
	int p = 1, q = 0;
	int r = 0, s = 1;
	int c, quot, r_tmp, s_tmp;
	
	while (b != 0) {
		c = a%b;
		quot = a/b;
		a = b;
		b = c;
		r_tmp = r;
		s_tmp = s;
		r = p - quot * r;
{'fraction_non_alphanumeric': 0.17425742574257425, 'fraction_numerical': 0.02574257425742574, 'mean_word_length': 2.5724381625441697, 'pattern_counts': {'":': 0, '<': 11, '<?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': '446588', 'n_tokens_mistral': 525, 'n_tokens_neox': 471, 'n_words': 151}