Java Numerics

Guy Steele - Sun Microsystems Labs glsalivia.East.Sun.COM
Thu Feb 13 11:35:43 PST 1997


I just realized that, in my previous message, I should have
distinguished between

	return 1/0;

the results of which are

	return Infinity with zerodivide;

and

	double huge = 1e300;
	...
	return huge*huge;

the results of which are

	return Infinity with overflow;

--Guy



More information about the Numeric-interest mailing list