In documentation for lreduce and rreduce, supply second argument as an explicit list
[maxima.git] / share / odepack / src / xerrwd.lisp
blob59fcbdf181fcece295acfe7f1ff15a50beaa01f0
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-2017-01 (21B 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 double-float))
17 (in-package "ODEPACK")
20 (defun xerrwd (msg nmes nerr level ni i1 i2 nr r1 r2)
21 (declare (type (double-float) r2 r1)
22 (type (f2cl-lib:integer4) nr i2 i1 ni level nerr nmes)
23 (type (string *) msg))
24 (f2cl-lib:with-multi-array-data
25 ((msg character msg-%data% msg-%offset%))
26 (prog ((lunit 0) (mesflg 0))
27 (declare (type (f2cl-lib:integer4) mesflg lunit))
28 (setf lunit (ixsav 1 0 f2cl-lib:%false%))
29 (setf mesflg (ixsav 2 0 f2cl-lib:%false%))
30 (if (= mesflg 0) (go label100))
31 (f2cl-lib:fformat lunit ("~1@T" ("~A") "~%") msg)
32 (if (= ni 1)
33 (f2cl-lib:fformat lunit
34 ("~6@T" "In above message, I1 =" 1 (("~10D"))
35 "~%")
36 i1))
37 (if (= ni 2)
38 (f2cl-lib:fformat lunit
39 ("~6@T" "In above message, I1 =" 1 (("~10D"))
40 "~3@T" "I2 =" 1 (("~10D")) "~%")
42 i2))
43 (if (= nr 1)
44 (f2cl-lib:fformat lunit
45 ("~6@T" "In above message, R1 =" 1
46 (("~21,13,2,0,'*,,'DE")) "~%")
47 r1))
48 (if (= nr 2)
49 (f2cl-lib:fformat lunit
50 ("~6@T" "In above, R1 =" 1
51 (("~21,13,2,0,'*,,'DE")) "~3@T" "R2 =" 1
52 (("~21,13,2,0,'*,,'DE")) "~%")
54 r2))
55 label100
56 (if (/= level 2) (go end_label))
57 (f2cl-lib::stop)
58 end_label
59 (return (values nil nil nil nil nil nil nil nil nil 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::xerrwd
65 fortran-to-lisp::*f2cl-function-info*)
66 (fortran-to-lisp::make-f2cl-finfo
67 :arg-types '((string) (fortran-to-lisp::integer4)
68 (fortran-to-lisp::integer4) (fortran-to-lisp::integer4)
69 (fortran-to-lisp::integer4) (fortran-to-lisp::integer4)
70 (fortran-to-lisp::integer4) (fortran-to-lisp::integer4)
71 (double-float) (double-float))
72 :return-values '(nil nil nil nil nil nil nil nil nil nil)
73 :calls '(fortran-to-lisp::ixsav))))