<commit_before>#define _GNU_SOURCE
#include <pthread.h>
#include <sched.h>
#include <stdio.h>
#include <GL/glx.h>
#include <GL/gl.h>
#include <X11/X.h>
#include <unistd.h>
#include <math.h>
#include <complex.h>
#include <limits.h>
#include <time.h>
#define THREADS 1

long double xx=-2,yy=-2,wh=4/512.;
int nx,ny;
unsigned char manor[512][512];
unsigned mxi=200;
Display*dpy;
Window win;

int min(int x,int y){return y+(x-y&x-y>>sizeof(int)*8-1);}
int max(int x,int y){return x-(x-y&x-y>>sizeof(int)*8-1);}
int abs(int x){return (x^x>>sizeof(int)*8-1)-(x>>sizeof(int)*8-1);}

void*drawman(void*xv){
	unsigned th=*(unsigned*)xv;
	for(int i=512/THREADS*th;i<512/THREADS*(th+1);i++)
		for(int j=0;j<512;j++){
			complex long double z=xx+wh*i+I*(yy+wh*j),c=z;<commit_msg>Integer arithmetic, now with more than one thread<commit_after>#define _GNU_SOURCE
#include <pthread.h>
#include <sched.h>
#include <stdio.h>
#include <GL/glx.h>
#include <GL/gl.h>
#include <X11/X.h>
#include <unistd.h>
#include <math.h>
#include <complex.h>
#include <limits.h>
#include <time.h>
#define THREADS 256

long double xx=-2,yy=-2,wh=4/512.;
int nx,ny;
unsigned char manor[512][512];
unsigned mxi=200;
Display*dpy;
Window win;

int min(int x,int y){return y+(x-y&x-y>>sizeof(int)*8-1);}
int max(int x,int y){return x-(x-y&x-y>>sizeof(int)*8-1);}
int abs(int x){return (x^x>>sizeof(int)*8-1)-(x>>sizeof(int)*8-1);}

void*drawman(void*xv){
	unsigned th=*(unsigned*)xv;
	for(int i=512/THREADS*th;i<512/THREADS*(th+1);i++)
		for(int j=0;j<512;j++){
			complex long double z=xx+wh*i+I*(yy+wh*j),c=z;
{'fraction_non_alphanumeric': 0.2296437659033079, 'fraction_numerical': 0.04834605597964377, 'mean_word_length': 6.282407407407407, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 41, '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': '1604787', 'n_tokens_mistral': 769, 'n_tokens_neox': 717, 'n_words': 136}