VMS Help
RTL Routines, OTS$, OTS$CNVOUT

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

    The Convert Floating to Character String routines convert a D-
    floating, G-floating or H-floating number to a character string
    in the Fortran E format.

    Format

      OTS$CNVOUT  D-G-or-H-float-pt-input-val

                  ,fixed-length-resultant-string ,digits-in-fraction

      OTS$CNVOUT_G  D-G-or-H-float-pt-input-val

                    ,fixed-length-resultant-string

                    ,digits-in-fraction

      OTS$CNVOUT_H  D-G-or-H-float-pt-input-val

                    ,fixed-length-resultant-string

                    ,digits-in-fraction (VAX only)

  1 - Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

  2 - Arguments

 D-G-or-H-float-pt-input-val

    OpenVMS usage:floating_point
    type:         D_floating, G_floating, H_floating
    access:       read only
    mechanism:    by reference

    Value that OTS$CNVOUT converts to a character string. For
    OTS$CNVOUT, the D-G-or-H-float-pt-input-val argument is the
    address of a D-floating number containing the value. For
    OTS$CNVOUT_G, the D-G-or-H-float-pt-input-val argument is
    the address of a G-floating number containing the value. For
    OTS$CNVOUT_H, the D-G-or-H-float-pt-input-val argument is the
    address of an H-floating number containing the value.

 fixed-length-resultant-string

    OpenVMS usage:char_string
    type:         character string
    access:       write only
    mechanism:    by descriptor, fixed length

    Output string into which OTS$CNVOUT writes the character string
    result of the conversion. The fixed-length-resultant-string
    argument is the address of a descriptor pointing to the output
    string.

 digits-in-fraction

    OpenVMS usage:longword_unsigned
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value

    Number of digits in the fractional portion of the result. The
    digits-in-fraction argument is an unsigned longword containing
    the number of digits to be written to the fractional portion of
    the result.
  Close     HLB-list     TLB-list     Help  

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