u32 calcx_reverse_lookup(u32 fvalue) {
static u32 calcx_reverse_lookup(u32 fvalue) {
u32 calcx_reverse_lookup(u32 fvalue) {	int ctr = 0;	int small;	if (fvalue < calcx_lookup[0][1])		return 0;	if (fvalue <= calcx_lookup[CALCX_ARRSIZE-1][1])		small = 1;	else if (fvalue > calcx_lookup[CALCX_ARRSIZE-1][0])		return 1000000;	else		small = 0;	while (fvalue > calcx_lookup[ctr][small])		ctr++;	if (small)		return (CALCX_SPLIT * ctr / CALCX_ARRSIZE);	else		return (1000000 * ctr / CALCX_ARRSIZE) ;}