no message

This commit is contained in:
Jeff Hill
2001-05-22 01:40:37 +00:00
parent bc4bd0216e
commit cf668c6448

View File

@@ -19,4 +19,18 @@ inline void osiConvertToWireFormat ( const epicsFloat64 &value, unsigned char *p
# endif
}
inline void osiConvertFromWireFormat ( epicsFloat32 &value, epicsUInt8 *pWire )
{
cvt$convert_float ( &value, CVT$K_IEEE_S, pWire, CVT$K_VAX_F, CVT$M_BIG_ENDIAN );
}
inline void osiConvertFromWireFormat ( epicsFloat64 &value, epicsUInt8 *pWire )
{
# if defined ( __G_FLOAT ) && ( __G_FLOAT == 1 )
cvt$convert_float ( pWire, CVT$K_IEEE_T, &value, CVT$K_VAX_G, CVT$M_BIG_ENDIAN );
# else
cvt$convert_float ( pWire, CVT$K_IEEE_T, &value, CVT$K_VAX_D, CVT$M_BIG_ENDIAN );
# endif
}
#endif // osiWireFormat