VMS Help  —  System Services, $IEEE SET PRECISION MODE (Integrity servers Only)
    On Integrity server systems, modifies the IEEE precision mode
    and, optionally, returns the previous value.

    Format

      SYS$IEEE_SET_PRECISION_MODE  new_value , [*prev_value]

    C Prototype

      int sys$ieee_set_rounding_mode  (int new_value, int

                                      *prev_value);

1  –  Arguments

 new_value

    OpenVMS usage:IEEE precision mode
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value
    The new value can be one of the following:

    Symbol                          ValueMeaning

    IEEE$C_PM_NO_CHANGE             -1   No change. Just get previous
                                         value
    IEEE$C_PM_SINGLE                0    Single Precision
    IEEE$C_PM_DOUBLE                2    Double Precision
    IEEE$C_PM_DOUBLE_EXTENDED       3    Double-Extended Precision

 prev_value

    OpenVMS usage:IEEE precision mode
    type:         longword (unsigned)
    access:       write only
    mechanism:    by reference
    The previous value is a pointer to a return value that can be one
    of the last three items from the table showing new values.
Close Help