I reported a problem with this some time ago, and have now tracked it down. Not sure if it's a bug or not (I certainly couldn't find -1.#IO documented anywhere as the java string representation of -infinity), but basically it's a result of divide by zero:
public class Test {
public static double test(int a, int b) {
return ((double)a)/(480.0+(double)b);
}
}
make Test available to tclblend
% java::call Test test 1000 -480
1.#IO
% java::call Test test -1000 -480
-1.#IO
Hope that helps someone else avoid the problem. In my case this means there's a bug in my code which leads to the wrong 'b' value above...
cheers,
Vince.