Rename *ll* and *ul* to ll and ul in $defint
[maxima.git] / share / fftpack5 / lisp / xercon.lisp
blob54ef85140e85a100634de0ff3c3323638230fe5d
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 xercon (inc jump n lot)
21 (declare (type (f2cl-lib:integer4) lot n jump inc))
22 (prog ((i 0) (j 0) (jnew 0) (lcm$ 0) (xercon nil))
23 (declare (type f2cl-lib:logical xercon)
24 (type (f2cl-lib:integer4) lcm$ jnew j i))
25 (setf i inc)
26 (setf j jump)
27 label10
28 (cond
29 ((/= j 0)
30 (setf jnew (mod i j))
31 (setf i j)
32 (setf j jnew)
33 (go label10)))
34 (setf lcm$ (the f2cl-lib:integer4 (truncate (* inc jump) i)))
35 (cond
36 ((and
37 (<= lcm$
38 (f2cl-lib:int-mul (f2cl-lib:int-add n (f2cl-lib:int-sub 1)) inc))
39 (<= lcm$
40 (f2cl-lib:int-mul (f2cl-lib:int-add lot (f2cl-lib:int-sub 1))
41 jump)))
42 (setf xercon f2cl-lib:%false%))
44 (setf xercon f2cl-lib:%true%)))
45 (go end_label)
46 end_label
47 (return (values xercon nil nil nil nil))))
49 (in-package #:cl-user)
50 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
51 (eval-when (:load-toplevel :compile-toplevel :execute)
52 (setf (gethash 'fortran-to-lisp::xercon
53 fortran-to-lisp::*f2cl-function-info*)
54 (fortran-to-lisp::make-f2cl-finfo
55 :arg-types '((fortran-to-lisp::integer4) (fortran-to-lisp::integer4)
56 (fortran-to-lisp::integer4)
57 (fortran-to-lisp::integer4))
58 :return-values '(nil nil nil nil)
59 :calls 'nil)))