In Solaris and Windows java uses different ways of printing infinite values.
Thus execution of the following test:
public class test
{
public static void main(String argv[])
{
System.out.println(Float.POSITIVE_INFINITY);
}
}
produces the following results:
in Solaris: Inf
in Windows: 1.#INF
--
marlon
"And Bobby you are right, I am being selfish, but the last time I checked,
we don't have a whole lot of songs that feature the cowbell!"
> -----Original Message-----
> From: John Stanley [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 12, 2004 1:18 PM
> To: CF-Talk
> Subject: Interesting Numbers
>
> All,
> As a result of mathematical manipulations, I am getting the following
> result in CFMX.
>
>
> 1.#INF
>
>
> which, I assume means 1. followed by a very large number of decimal
> places.
>
>
> If this assumption is correct, then how can I show this number to say one
> or
> two or three decimal places? Or is this even possible?
>
>
> If this assumption is not correct, then what does the #INF mean?
>
>
> TIA
>
>
> John
>
>
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

