conversion to IBM floating point

I need to convert a java float to the old "IBM floating point" representation as described in http://en.wikipedia.org/wiki/IBM_Floating_Point_Architecture .

Is there a simple way to do this, i.e. are there some core classes that allow to do this ? Or should I write code to do the conversion, using the information as given in the Wikipedia ?

Your help is highly appreciated

[393 byte] By [XML4Pharmaa] at [2007-11-27 9:32:18]
# 1

Ummm, IBM is a fairly big player in the java world, and are founding members of the Kill Bill fan club... So I'd be very surprised if they didn't already have a set of classes to support their sizable legacy of aberrances.

Try searching IBM's ... they appear to be almost google proof. Fools!

corlettka at 2007-7-12 22:49:27 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks, I did already spend 5 hours today on finding classes for this.Please note that this is very old MAINFRAME format, that is nowadays not being used by IBM itself anymore.But there are still some old standards that rely on this format.
XML4Pharmaa at 2007-7-12 22:49:27 > top of Java-index,Java Essentials,Java Programming...
# 3

Yeah, it looks like you're going to have to implement it yourself then doesn't it.

I'm guessing this isn't good news... And didn't Noah use an IBM/360 to do the hydrodynamics for that floating zoo project a while back? Hmmm... interesting.

I hate bit twiddling, so I'm glad it's your problem... BTW you could (presuming that interfacing with babbage engines isn't your core business) post your implementation back on the wiki, to save some (or probably several) other poor souls the heartache... or even post it back here on the forums, where Google CAN find it.

Keith.

corlettka at 2007-7-12 22:49:27 > top of Java-index,Java Essentials,Java Programming...