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

round - Rounding function.

Authors

TheKhronosGroup

Description

       Return the integral value nearest to x rounding halfway cases away from zero, regardless of the current
       rounding direction.

Name

       round - Rounding function.

       gentyperound(gentypex);

Notes

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

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

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also