SWDIV_NOCHK(X,Y)

Purpose

Provides software floating-point division algorithms when used on POWER5 processors. Checking for invalid arguments is not performed.

This function returns the result of a floating-point division and can increase performance over the normal divide operator or the SWDIV built-in function where your application performs division repeatedly within a loop, and arguments are within the permitted range.

You must specify -qarch=pwr5 for software division to take effect.

Class

Elemental function

Argument Type and Attributes

X
can be of type REAL(4) or REAL(8).

For a REAL(4) argument, you must not specify the following:

For correct operation, REAL(8) arguments must satisfy the following conditions:

Y
must be of the same type and kind type parameter as X.

Result Type and Attributes

Same as X and Y.

Result Value

The result has a value equal to X/Y.

For REAL(4) arguments, the the result is bitwise identical to IEEE division.

For REAL(8) arguments with -qstrict in effect, the result is bitwise identical to IEEE division.

For REAL(8) arguments with -qnostrict in effect, the result can differ slightly from the IEEE result. IBM Copyright 2003