Don't use fname to define functions
[maxima.git] / src / numerical / slatec / zbunk.lisp
blobf11ef30a045c666e6544bd25090e75a9b3a45109
1 ;;; Compiled by f2cl version:
2 ;;; ("f2cl1.l,v 46c1f6a93b0d 2012/05/03 04:40:28 toy $"
3 ;;; "f2cl2.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
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 46c1f6a93b0d 2012/05/03 04:40:28 toy $"
7 ;;; "f2cl6.l,v 1d5cbacbb977 2008/08/24 00:56:27 rtoy $"
8 ;;; "macros.l,v fceac530ef0c 2011/11/26 04:02:26 toy $")
10 ;;; Using Lisp CMU Common Lisp snapshot-2012-04 (20C Unicode)
11 ;;;
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':simple-array)
14 ;;; (:array-slicing nil) (:declare-common nil)
15 ;;; (:float-format double-float))
17 (in-package :slatec)
20 (defun zbunk (zr zi fnu kode mr n yr yi nz tol elim alim)
21 (declare (type (simple-array double-float (*)) yi yr)
22 (type (f2cl-lib:integer4) nz n mr kode)
23 (type (double-float) alim elim tol fnu zi zr))
24 (prog ((ax 0.0) (ay 0.0))
25 (declare (type (double-float) ay ax))
26 (setf nz 0)
27 (setf ax (* (abs zr) 1.7321))
28 (setf ay (abs zi))
29 (if (> ay ax) (go label10))
30 (multiple-value-bind
31 (var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7 var-8 var-9 var-10
32 var-11)
33 (zunk1 zr zi fnu kode mr n yr yi nz tol elim alim)
34 (declare (ignore var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7 var-9
35 var-10 var-11))
36 (setf nz var-8))
37 (go label20)
38 label10
39 (multiple-value-bind
40 (var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7 var-8 var-9 var-10
41 var-11)
42 (zunk2 zr zi fnu kode mr n yr yi nz tol elim alim)
43 (declare (ignore var-0 var-1 var-2 var-3 var-4 var-5 var-6 var-7 var-9
44 var-10 var-11))
45 (setf nz var-8))
46 label20
47 (go end_label)
48 end_label
49 (return (values nil nil nil nil nil nil nil nil nz nil nil nil))))
51 (in-package #:cl-user)
52 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
53 (eval-when (:load-toplevel :compile-toplevel :execute)
54 (setf (gethash 'fortran-to-lisp::zbunk fortran-to-lisp::*f2cl-function-info*)
55 (fortran-to-lisp::make-f2cl-finfo
56 :arg-types '((double-float) (double-float) (double-float)
57 (fortran-to-lisp::integer4) (fortran-to-lisp::integer4)
58 (fortran-to-lisp::integer4)
59 (simple-array double-float (*))
60 (simple-array double-float (*))
61 (fortran-to-lisp::integer4) (double-float)
62 (double-float) (double-float))
63 :return-values '(nil nil nil nil nil nil nil nil fortran-to-lisp::nz
64 nil nil nil)
65 :calls '(fortran-to-lisp::zunk2 fortran-to-lisp::zunk1))))