VMS Help  —  RTL Routines, LIB$  LIB$EMUL
    The Extended-Precision Multiply routine performs extended-
    precision multiplication. LIB$EMUL makes the VAX EMUL instruction
    available as a callable routine.

    Format

      LIB$EMUL  longword-integer-multiplier

                ,longword-integer-multiplicand ,addend ,product

1  –  Returns

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

2  –  Arguments

 longword-integer-multiplier

    OpenVMS usage:longword_signed
    type:         longword integer (signed)
    access:       read only
    mechanism:    by reference

    Multiplier used by LIB$EMUL in the extended-precision
    multiplication. The longword-integer-multiplier argument is the
    address of a signed longword integer containing the multiplier.

 longword-integer-multiplicand

    OpenVMS usage:longword_signed
    type:         longword integer (signed)
    access:       read only
    mechanism:    by reference

    Multiplicand used by LIB$EMUL in the extended-precision
    multiplication. The longword-integer-multiplicand argument is the
    address of a signed longword integer containing the multiplicand.

 addend

    OpenVMS usage:longword_signed
    type:         longword integer (signed)
    access:       read only
    mechanism:    by reference

    Addend used by LIB$EMUL in the extended-precision multiplication.
    The addend argument is the address of a signed longword integer
    containing the addend.

 product

    OpenVMS usage:quadword_signed
    type:         quadword integer (signed)
    access:       write only
    mechanism:    by reference

    Product of the extended-precision multiplication. The product
    argument is the address of a signed quadword integer into which
    LIB$EMUL writes the product.
Close Help