简体   繁体   English

Eclipse中的有限BigInteger

[英]Limited BigInteger in eclipse

In Eclipse, I get a value for BigInteger.valueOf(2).pow(31093) , but not for BigInteger.valueOf(2).pow(31094) (its empty). 在Eclipse中,我获得了BigInteger.valueOf(2).pow(31093) ,但没有获得BigInteger.valueOf(2).pow(31094) (它为空)。

I edited my eclipse.ini like this: 我这样编辑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

On other computers I succeeded. 在其他计算机上,我成功了。 Is eclipse still the problem or there is something else? 蚀仍然是问题还是其他问题?

If it interest anyone - The problem is a bug of the Console view in Eclipse. 如果有人感兴趣-问题是Eclipse中的Console视图的错误。

Printing very big BigIntegers - same problem. 打印很大的BigIntegers-同样的问题。 The workaround works. 解决方法起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM