__divweu, __builtin_divweu

Purpose

Divide Word Extended Unsigned

Returns the result of a word extended unsigned division. The result has a value equal to dividend/divisor.

Prototype

unsigned int __builtin_divweu(unsigned int dividend, unsigned int divisor);

unsigned int __divweu(unsigned int dividend, unsigned int divisor);

Note:
  • The built-in function in the form of __name is a synonym of __builtin_name.
  • The built-in function in the form of __name is provided for compatibility with IBM® XL C/C++ for AIX® 16.1.0 or earlier releases. This built-in function might be deprecated in the future.

Usage

If the divisor is 0, the return value of the function is undefined.