[Contents] [Previous Section] [Next Section] [Index]


cabs-Complex Absolute Value

Interface

F_TYPE cabs (F_TYPE x, F_TYPE y)

Description

cabs(x,y) is defined as the square root of (x**2 + y**2) and returns the same value as hypot(x,y).

Exceptions


Exceptional Argument                 Routine Behavior

sqrt(x**2 + y**2) > max_float        Overflow



See Also

Appendix A, Critical Floating-Point Values