Rename *ll* and *ul* to ll and ul in $defint
[maxima.git] / share / fftpack5 / lisp / mcfti1.lisp
blob9106b9b99b571cb6e45dd0f5ed9d1a50b3ab2056
1 ;;; Compiled by f2cl version:
2 ;;; ("f2cl1.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
3 ;;; "f2cl2.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
4 ;;; "f2cl3.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
5 ;;; "f2cl4.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
6 ;;; "f2cl5.l,v 95098eb54f13 2013/04/01 00:45:16 toy $"
7 ;;; "f2cl6.l,v 1d5cbacbb977 2008/08/24 00:56:27 rtoy $"
8 ;;; "macros.l,v 1409c1352feb 2013/03/24 20:44:50 toy $")
10 ;;; Using Lisp CMU Common Lisp snapshot-2020-04 (21D Unicode)
11 ;;;
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':array)
14 ;;; (:array-slicing t) (:declare-common nil)
15 ;;; (:float-format single-float))
17 (in-package "FFTPACK5")
20 (defun mcfti1 (n wa fnf fac)
21 (declare (type (double-float) fnf)
22 (type (array double-float (*)) fac wa)
23 (type (f2cl-lib:integer4) n))
24 (f2cl-lib:with-multi-array-data
25 ((wa double-float wa-%data% wa-%offset%)
26 (fac double-float fac-%data% fac-%offset%))
27 (prog ((ido 0) (l2 0) (ip 0) (k1 0) (l1 0) (iw 0) (nf 0))
28 (declare (type (f2cl-lib:integer4) nf iw l1 k1 ip l2 ido))
29 (multiple-value-bind (var-0 var-1 var-2)
30 (factor n nf fac)
31 (declare (ignore var-0 var-2))
32 (setf nf var-1))
33 (setf fnf (coerce (the f2cl-lib:integer4 nf) 'double-float))
34 (setf iw 1)
35 (setf l1 1)
36 (f2cl-lib:fdo (k1 1 (f2cl-lib:int-add k1 1))
37 ((> k1 nf) nil)
38 (tagbody
39 (setf ip
40 (f2cl-lib:int
41 (f2cl-lib:fref fac-%data% (k1) ((1 *)) fac-%offset%)))
42 (setf l2 (f2cl-lib:int-mul l1 ip))
43 (setf ido (the f2cl-lib:integer4 (truncate n l2)))
44 (tables ido ip
45 (f2cl-lib:array-slice wa-%data%
46 double-float
47 (iw)
48 ((1 *))
49 wa-%offset%))
50 (setf iw
51 (f2cl-lib:int-add iw
52 (f2cl-lib:int-mul (f2cl-lib:int-sub ip 1)
53 (f2cl-lib:int-add ido
54 ido))))
55 (setf l1 l2)
56 label110))
57 (go end_label)
58 end_label
59 (return (values nil nil fnf nil)))))
61 (in-package #:cl-user)
62 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
63 (eval-when (:load-toplevel :compile-toplevel :execute)
64 (setf (gethash 'fortran-to-lisp::mcfti1
65 fortran-to-lisp::*f2cl-function-info*)
66 (fortran-to-lisp::make-f2cl-finfo
67 :arg-types '((fortran-to-lisp::integer4) (array double-float (*))
68 (double-float) (array double-float (*)))
69 :return-values '(nil nil fortran-to-lisp::fnf nil)
70 :calls '(fortran-to-lisp::tables fortran-to-lisp::factor))))