Closed misan closed 10 years ago
It seems there is a binary to IEEE 754 conversion problem. bin_to_float does not work ok,
My solution is to replace bin_to_float by
Tri[i]=Float.intBitsToFloat( b[offs] &0xff | (b[offs+1]<<8)&0xff00 | (b[offs+2]<<16)&0xff0000 | (b[offs+3]<<24)&0xff000000);
It seems there is a binary to IEEE 754 conversion problem. bin_to_float does not work ok,