VMS Help
TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_double

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Serializes and deserializes VAX and IEEE double-precision
    floating-point numbers.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_double(XDR *xdrs, double *dp);

  1 - Arguments

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

  2 - Description

    A filter primitive that translates between double-precision
    numbers and their external representations.

    This routine is actually implemented by four XDR routines:
    xdr_       converts VAX D-format floating-point numbers
    double_D
    xdr_       converts VAX G-format floating-point numbers
    double_G
    xdr_       converts IEEE T-format floating-point numbers
    double_T
    xdr_       converts IEEE X-format floating-point numbers
    double_X
    You can reference these routines explicitly or you can use
    compiler settings to control which routine is used when you
    reference the xdr_double routine.

  3 - Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.