logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fma - Multiply and add, then round.

Authors

TheKhronosGroup

Description

       Returns the correctly rounded floating-point representation of the sum of c with the infinitely precise
       product of a and b. Rounding of intermediate products shall not occur. Edge case behavior is per the IEEE
       754-2008 standard.

Name

       fma - Multiply and add, then round.

       gentypefma(gentypea,gentypeb,gentypec);

Notes

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

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

See Also

mathFunctions(3clc), FP_CONTRACT(3clc), FP_CONTRACT(3clc)

Specification

OpenCLSpecification[1]

See Also