FileDocCategorySizeDatePackage
BigNums.javaAPI DocExample518Sun Feb 08 21:33:56 GMT 2004None

BigNums

public class BigNums extends Object
Demonstrate large numbers.
author
Ian F. Darwin, http://www.darwinsys.com/
version
$Id: BigNums.java,v 1.4 2004/02/09 03:33:56 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		//+
		System.out.println("Here's Long.MAX_VALUE: " + Long.MAX_VALUE);
		BigInteger bInt = new BigInteger("3419229223372036854775807");
		System.out.println("Here's a bigger number: " + bInt);
		System.out.println("Here it is as a double: " + bInt.doubleValue());
		//-