Merge branch 'master' into bug-4403-remove-polyfill
[maxima.git] / share / fftpack5 / lisp / xerfft.lisp
blobdc00fa2df7f66bd7aa220ecf44726eaeb0d2a827
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 xerfft (srname info)
21 (declare (type (f2cl-lib:integer4) info) (type (string *) srname))
22 (f2cl-lib:with-multi-array-data
23 ((srname character srname-%data% srname-%offset%))
24 (prog ()
25 (declare)
26 (cond
27 ((>= info 1)
28 (f2cl-lib:fformat t
29 (t (("~A") ("~A") ("~A") 1 (("~3D")) ("~A")) "~%")
30 " ** On entry to "
31 srname
32 " parameter number "
33 info
34 " had an illegal value"))
35 ((= info (f2cl-lib:int-sub 1))
36 (f2cl-lib:fformat t
37 (t (("~A") ("~A") ("~A") ("~A")) "~%")
38 " ** On entry to "
39 srname
40 " parameters LOT, JUMP, N and INC are inconsistent"))
41 ((= info (f2cl-lib:int-sub 2))
42 (f2cl-lib:fformat t
43 (t (("~A") ("~A") ("~A") ("~A")) "~%")
44 " ** On entry to "
45 srname
46 " parameter L is greater than LDIM"))
47 ((= info (f2cl-lib:int-sub 3))
48 (f2cl-lib:fformat t
49 (t (("~A") ("~A") ("~A") ("~A")) "~%")
50 " ** On entry to "
51 srname
52 " parameter M is greater than MDIM"))
53 ((= info (f2cl-lib:int-sub 5))
54 (f2cl-lib:fformat t
55 (t (("~A") ("~A") ("~A") ("~A")) "~%")
56 " ** Within "
57 srname
58 " input error returned by lower level routine"))
59 ((= info (f2cl-lib:int-sub 6))
60 (f2cl-lib:fformat t
61 (t (("~A") ("~A") ("~A") ("~A")) "~%")
62 " ** On entry to "
63 srname
64 " parameter LDIM is less than 2*(L/2+1)")))
65 (f2cl-lib::stop)
66 end_label
67 (return (values nil nil)))))
69 (in-package #:cl-user)
70 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
71 (eval-when (:load-toplevel :compile-toplevel :execute)
72 (setf (gethash 'fortran-to-lisp::xerfft
73 fortran-to-lisp::*f2cl-function-info*)
74 (fortran-to-lisp::make-f2cl-finfo
75 :arg-types '((string) (fortran-to-lisp::integer4))
76 :return-values '(nil nil)
77 :calls 'nil)))