etc/lib.c
// normalize get exponent as close to 0 as possible without losing signficance
normalize get exponent as close to 0 as possible without losing signficance
normalize get exponent as close to 0 as possible without losing signficance
i64 any_to_nod (i64 rax, i08 rbx) {
	if (rbx < 0) {
		do {
			if (int_to_div(rax, 10, rdx)) break; rax = rdx;
		} while (++rbx);
	} else if (rbx > 0) {
		do {
			if (int_to_mul(rax, 10, rdx)) break; rax = rdx;
		} while (--rbx);
	}
	return any_to_dec(rax, rbx);
}
i64 any_to_nod ( i64 rax , i08 rbx ) { if ( rbx < 0 ) { do { if ( int_to_div ( rax , 10 , rdx ) ) break ; rax = rdx ; } while ( ++ rbx ) ; } else if ( rbx > 0 ) { do { if ( int_to_mul ( rax , 10 , rdx ) ) break ; rax = rdx ; } while ( -- rbx ) ; } return any_to_dec ( rax , rbx ) ; }
normalize get exponent as close to 0 as possible without losing signficance
normalize get exponent as close to 0 as possible without losing signficance