VMS Help  —  CPML  sqrt()
    Interface

      F_TYPE sqrt (F_TYPE x)

1  –  Description

    sqrt() computes the rounded square root of x.

    For platforms supporting a signed zero, sqrt(-0) = 0.

                           Entry-Point Names

    Generic
    Function   Data Type   OpenVMS        Tru64 UNIX
    Name       Required

    sqrt       S_FLOAT     math$sqrt_s    sqrtf
               T_FLOAT     math$sqrt_t    sqrt
               X_FLOAT     math$sqrt_x    sqrtl
               F_FLOAT     math$sqrt_f
               G_FLOAT     math$sqrt_g

2  –  Exceptions

    Exceptional Argument   Routine Behavior

    x < 0                  Invalid argument
Close Help