Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
sqrt(3) Guardian Native C Library Calls Reference Manual
This function supports the special rounding modes of the IEEE floating-point standard. Guardian
declarations and procedures can be used to access the floating-point status and control register to
set and clear the special rounding modes. Refer to the Guardian Programmer’s Guide for infor-
mation about those declarations and procedures.
Remember the following rules when using any special floating-point mode:
• Do not assume that functions such as printf() or tanh() behave correctly if you call
them after setting a non-default operating mode (such as rounding toward zero). Unless
a function is documented as tolerating such modes, you should restore the default operat-
ing mode before calling the function.
• The exception bits of the status register stay set until they are explicitly cleared.
6−36 Hewlett-Packard Company 527192-005