fix precision in .c