FileDocCategorySizeDatePackage
BigNums.javaAPI DocExample510Sat Nov 25 12:55:58 GMT 2000None

BigNums

public class BigNums extends Object
Demonstrate large numbers.
author
Ian F. Darwin, ian@darwinsys.com
version
$Id: BigNums.java,v 1.3 2000/11/25 17:55:59 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());
		//-