High Precision Computation by C Code and Verilog Code