private void write_ieee_extended(DataOutputStream dos,double f) throws IOException {
  int exponent=16398;
  double highMantissa=f;
  while (highMantissa < 44000) {
    highMantissa*=2;
    exponent--;
  }
  dos.writeShort(exponent);
  dos.writeInt(((int)highMantissa) << 16);
  dos.writeInt(0);
}

private void write_ieee_extended ( DataOutputStream dos , double f ) throws IOException { int exponent = 16398 ; double highMantissa = f ; while ( highMantissa < 44000 ) { highMantissa *= 2 ; exponent -- ; } dos . writeShort ( exponent ) ; dos . writeInt ( ( ( int ) highMantissa ) << 16 ) ; dos . writeInt ( 0 ) ; }
write_ieee_extended ( dataoutputstream dos , double f ) throws ioexception { extended precision ieee floating - point conversion routine .
