I have considered the calculation of the PI value to 100 million algorithms with Delphi, and it is useful to communicate. This is an algorithm for constructing a new long four arithmetic. The so-called long four operations refers to a fraction of a fraction with a field with a field, with a record of a decimal number of algorithms. LONGADD (), longsub (), longmulti (), longdiv (), and then ask for a PI formula. Below I have made longAdd (), I have not been debugged. First, do six global bookmark variables: publicXieof, xpeof, yieof, ypeof, zieof, zpeof: tbookmarkstr; procedure longadd (add1, add2, sum: integer); // field index value. varadd1i, add1p, add2i, add2p, sumi, sump: integer; add1iend, add1pend, add2iend, add2pend, temp, jump: integer; beginadd1i: = add1; add1p: = add1 1; add2i: = add2; add2p: = add2 1; SUMI: = SUM; SUMP: = SUM 1; TEMP: = 0; Jump: = 0; // The index value of the field.
longtable.bookmark: = xpeof; add1pend: = longtable.recno; longtable.bookmark: = ypeof; add2pend: = longtable.recno; if add1pend