VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_float
    Serializes and deserializes VAX and IEEE single-precision
    floating-point numbers.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_float(XDR *xdrs, float *fp);

1  –  Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream-handle creation routines.
 fp
    A pointer to a single-precision floating-point number.

2  –  Description

    A filter primitive that translates between single-precision
    floating-point numbers and their external representations.

    This routine is implemented by two XDR routines:
    xdr_       Converts VAX F-format floating-point numbers.
    float_F
    xdr_       Converts IEEE T-format floating-point numbers.
    float_S

    You can reference these routines explicitly or you can use
    compiler settings to control which routine is used when you
    reference the xdr_float routine.

3  –  Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
Close Help