USUBBORROW(3G)

    .SH "NAME" usubBorrow - subtract unsigned integers and generate borrow
    .SH "DECLARATION"

            .HP u genUType usubBorrow(genUType x, genUType y, out genUType borrow);

    .SH "PARAMETERS"

        .PP x

                    Specifies the first vector to be used in the subtraction operation.

            .RE
            .PP y

                        Specifies the second vector to be used in the subtraction operation.

                .RE
                .PP borrow

                            Specifies the variable to receive the borrow output of the difference.

                    .RE

                .SH "DESCRIPTION"
                    .PP usubBorrow subtracts two 32-bit unsigned integer variables (scalars or vectors) and generates a 32-bit unsigned integer result, along with a borrow output. The result is the difference of x and y if non-negative, or 232 plus that difference otherwise. The value borrow is set to 0 if x ≥ y and to 1 otherwise.

                .SH "VERSION SUPPORT"
                    .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ OpenGL Shading Language Version T} T{ Function Name T}:T{ 1.10 T}:T{ 1.20 T}:T{ 1.30 T}:T{ 1.40 T}:T{ 1.50 T}:T{ 3.30 T}:T{ 4.00 T}:T{ 4.10 T}:T{ 4.20 T}:T{ 4.30 T}:T{ 4.40 T}:T{ 4.50 T} l c c c c c c c c c c c c. T{ usubBorrow T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}

                .SH "SEE ALSO"
                    .PP uaddCarry()

                .SH "COPYRIGHT"
                    .PP Copyright © 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2011-2014 Khronos Group