在 Eclipse 中,我得到了 BigInteger.valueOf(2).pow(31093)
的值,但没有得到 BigInteger.valueOf(2).pow(31094)
的值(它是空的)。
我像这样编辑了 eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard_2.0.2.20140224-0000
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:+UseParallelGC
-Xms512m
-Xmx1024m
-XX:PermSize=1024M
在其他计算机上我成功了。 Eclipse 仍然是问题还是还有其他问题?
最佳答案
如果有人感兴趣 - 问题是 Eclipse 中控制台 View 的错误。
Printing very big BigIntegers - 同样的问题。该解决方法有效。
关于java - Eclipse 中的 BigInteger 有限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28483442/