NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Bit twiddling in Java

I need to convert some IBM formatted floating point data from
a binary file so I can read into VisAd. This uses a different
number of bits for the exponent and mantissa than is used by
the IEEE representation. Can anyone point me at code or a
tutorial on bit-twiddling in Java?

Andrew