mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-01-01 06:23:39 +01:00
c977aa998f
Replace amos with slatec
27 lines
758 B
Fortran
27 lines
758 B
Fortran
*DECK ZMLT
|
|
SUBROUTINE ZMLT (AR, AI, BR, BI, CR, CI)
|
|
C***BEGIN PROLOGUE ZMLT
|
|
C***SUBSIDIARY
|
|
C***PURPOSE Subsidiary to ZBESH, ZBESI, ZBESJ, ZBESK, ZBESY, ZAIRY and
|
|
C ZBIRY
|
|
C***LIBRARY SLATEC
|
|
C***TYPE ALL (ZMLT-A)
|
|
C***AUTHOR Amos, D. E., (SNL)
|
|
C***DESCRIPTION
|
|
C
|
|
C DOUBLE PRECISION COMPLEX MULTIPLY, C=A*B.
|
|
C
|
|
C***SEE ALSO ZAIRY, ZBESH, ZBESI, ZBESJ, ZBESK, ZBESY, ZBIRY
|
|
C***ROUTINES CALLED (NONE)
|
|
C***REVISION HISTORY (YYMMDD)
|
|
C 830501 DATE WRITTEN
|
|
C 910415 Prologue converted to Version 4.0 format. (BAB)
|
|
C***END PROLOGUE ZMLT
|
|
DOUBLE PRECISION AR, AI, BR, BI, CR, CI, CA, CB
|
|
C***FIRST EXECUTABLE STATEMENT ZMLT
|
|
CA = AR*BR - AI*BI
|
|
CB = AR*BI + AI*BR
|
|
CR = CA
|
|
CI = CB
|
|
RETURN
|
|
END
|