finv.c and table for finv