Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

sqrt(3) Guardian Native C Library Calls Reference Manual
This function supports the special rounding modes of the IEEE oating-point standard. Guardian
declarations and procedures can be used to access the oating-point status and control register to
set and clear the special rounding modes. Refer to the Guardian Programmers Guide for infor-
mation about those declarations and procedures.
Remember the following rules when using any special oating-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.
640 Hewlett-Packard Company 527192-007