Developer Reference

  • 2020.2
  • 07/15/2020
  • Public Content
Contents

?ladiv

Performs complex division in real arithmetic, avoiding unnecessary overflow.

Syntax

call sladiv
(
a
,
b
,
c
,
d
,
p
,
q
)
call dladiv
(
a
,
b
,
c
,
d
,
p
,
q
)
res
=
cladiv
(
x
,
y
)
res
=
zladiv
(
x
,
y
)
Include Files
  • mkl.fi
Description
The routines
sladiv
/
dladiv
perform complex division in real arithmetic as
Equation
Complex functions
cladiv
/
zladiv
compute the result as
res
=
x
/
y
,
where
x
and
y
are complex. The computation of
x
/
y
will not overflow on an intermediary step unless the results overflows.
The algorithm used is due to [Baudin12].
Input Parameters
a
,
b
,
c
,
d
REAL
for
sladiv
DOUBLE PRECISION
for
dladiv
The scalars
a
,
b
,
c
, and
d
in the above expression (for real flavors only).
x
,
y
COMPLEX
for
cladiv
DOUBLE COMPLEX
for
zladiv
The complex scalars
x
and
y
(for complex flavors only).
Output Parameters
p
,
q
REAL
for
sladiv
DOUBLE PRECISION
for
dladiv
The scalars
p
and
q
in the above expression (for real flavors only).
res
COMPLEX
for
cladiv
DOUBLE COMPLEX
for
zladiv
Contains the result of division
x
/
y
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804