Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Biginteger Pascal中的大整数_Biginteger_Freepascal - Fatal编程技术网

Biginteger Pascal中的大整数

Biginteger Pascal中的大整数,biginteger,freepascal,Biginteger,Freepascal,自由Pascal中是否存在BigInteger类型? 在Java和C中,存在BigInteger和BigDecimal类型。 如何用Pascal编写与我在Java中编写的代码相同的代码: package bigint; import java.math.BigInteger; /** * @author Istvan */ public class bigint { public static void main(String[] args) { BigInteg

自由Pascal中是否存在BigInteger类型? 在Java和C中,存在BigInteger和BigDecimal类型。 如何用Pascal编写与我在Java中编写的代码相同的代码:

package bigint;
import java.math.BigInteger;
/** 
 * @author Istvan
 */
public class bigint {

    public static void main(String[] args) {
        BigInteger a = new BigInteger("12345678913546876542545054683656469434");
        BigInteger b = new BigInteger("983435472457463464685743648468650354684046846841");

        BigInteger c = a.multiply(b);
        System.out.println("c="+c);
    }
}

您将在

@arva中找到几种不同的解决方案,您推荐哪一种?我还没有使用过,因为我还不需要它们。