can anybody convert this java into Blitz3D

Blitz3D Forums/Blitz3D Programming/can anybody convert this java into Blitz3D

at a guess from what i have managaed to comprehend of the two he is only using the lower (16 bits)
and middle (16 bits) total of 32bits anyway, no idea if this is correct as i said i dont get it....