tvp1.getValue(tp.shortp);
castToDouble.convertShort(tp.shortp, dOut);
break;
case ValueTag.XS_BYTE_TAG:
tvp1.getValue(tp.bytep);
castToDouble.convertByte(tp.bytep, dOut);
break;
default:
dOut.write(ValueTag.XS_DOUBLE_TAG);
dOut.writeDouble(Double.NaN);
}