Merge branch 'master' into bug-4403-remove-polyfill
[maxima.git] / share / fftpack5 / fortran / cfftmi.f
blobda1fa44e975493c51367cfaa91014e0ca3d3bb82
1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
3 C FFTPACK 5.0
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
7 C $Id$
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE CFFTMI (N, WSAVE, LENSAV, IER)
12 INTEGER N, LENSAV, IER
13 REAL WSAVE(LENSAV)
15 IER = 0
17 IF (LENSAV .LT. 2*N + INT(LOG(REAL(N))/LOG(2.)) + 4) THEN
18 IER = 2
19 CALL XERFFT ('CFFTMI ', 3)
20 ENDIF
22 IF (N .EQ. 1) RETURN
24 IW1 = N+N+1
25 CALL MCFTI1 (N,WSAVE,WSAVE(IW1),WSAVE(IW1+1))
26 RETURN
27 END