Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

hypot - Square root of x2 + y2.

Authors

TheKhronosGroup

Description

       Computes the value of the square root of x2 + y2 without undue overflow or underflow.

Name

       hypot - Square root of x2 + y2.

       gentypehypot(gentypex,gentypey);

Notes

        1. OpenCL Specification
           page 244, section 6.12.2 - Math Functions

The Khronos Group                                  11/18/2024                                        HYPOT(3clc)

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also