home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1996-10-12 | 6.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs v18 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| gt2
| Kopftext: '(require (quote calc-ext))
| default (weak)
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 72 65 71 75 69 72 | 65 20 28 71 75 6f 74 65 |.(requir|e (quote|
|00000010| 20 63 61 6c 63 2d 65 78 | 74 29 29 0a 0a 28 64 65 | calc-ex|t))..(de|
|00000020| 66 75 6e 20 63 61 6c 63 | 2d 4e 65 65 64 2d 63 61 |fun calc|-Need-ca|
|00000030| 6c 63 2d 73 74 75 66 66 | 20 6e 69 6c 20 28 62 79 |lc-stuff| nil (by|
|00000040| 74 65 2d 63 6f 64 65 20 | 22 c0 87 22 20 5b 6e 69 |te-code |".." [ni|
|00000050| 6c 5d 20 31 29 29 0a 0a | 28 64 65 66 75 6e 20 63 |l] 1))..|(defun c|
|00000060| 61 6c 63 2d 6e 75 6d 2d | 70 72 65 66 69 78 20 28 |alc-num-|prefix (|
|00000070| 6e 29 20 22 5c 0a 55 73 | 65 20 74 68 65 20 6e 75 |n) "\.Us|e the nu|
|00000080| 6d 62 65 72 20 61 74 20 | 74 68 65 20 74 6f 70 20 |mber at |the top |
|00000090| 6f 66 20 73 74 61 63 6b | 20 61 73 20 74 68 65 20 |of stack| as the |
|000000a0| 6e 75 6d 65 72 69 63 20 | 70 72 65 66 69 78 20 66 |numeric |prefix f|
|000000b0| 6f 72 20 74 68 65 20 6e | 65 78 74 20 63 6f 6d 6d |or the n|ext comm|
|000000c0| 61 6e 64 2e 0a 57 69 74 | 68 20 61 20 70 72 65 66 |and..Wit|h a pref|
|000000d0| 69 78 2c 20 70 75 73 68 | 20 74 68 61 74 20 70 72 |ix, push| that pr|
|000000e0| 65 66 69 78 20 61 73 20 | 61 20 6e 75 6d 62 65 72 |efix as |a number|
|000000f0| 20 6f 6e 74 6f 20 74 68 | 65 20 73 74 61 63 6b 2e | onto th|e stack.|
|00000100| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "|
|00000110| 50 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |P") (byt|e-code "|
|00000120| c0 88 c1 c2 21 87 22 20 | 5b 6e 69 6c 20 63 61 6c |....!." |[nil cal|
|00000130| 63 2d 64 6f 20 28 6c 61 | 6d 62 64 61 20 6e 69 6c |c-do (la|mbda nil|
|00000140| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 83 0e | (byte-c|ode "...|
|00000150| 00 c3 c4 c5 c6 08 21 23 | 82 35 00 c7 c8 21 19 c9 |......!#|.5...!..|
|00000160| 09 21 85 1d 00 ca 09 21 | 89 11 88 cb 09 21 86 27 |.!.....!|.....!.'|
|00000170| 00 cc cd 21 88 ce c8 21 | 88 09 89 12 88 cf d0 09 |...!...!|........|
|00000180| 5c 22 29 87 22 20 5b 6e | 20 6e 75 6d 20 70 72 65 |\")." [n| num pre|
|00000190| 66 69 78 2d 61 72 67 20 | 63 61 6c 63 2d 65 6e 74 |fix-arg |calc-ent|
|000001a0| 65 72 2d 72 65 73 75 6c | 74 20 30 20 22 22 20 70 |er-resul|t 0 "" p|
|000001b0| 72 65 66 69 78 2d 6e 75 | 6d 65 72 69 63 2d 76 61 |refix-nu|meric-va|
|000001c0| 6c 75 65 20 63 61 6c 63 | 2d 74 6f 70 20 31 20 6d |lue calc|-top 1 m|
|000001d0| 61 74 68 2d 6d 65 73 73 | 79 2d 69 6e 74 65 67 65 |ath-mess|y-intege|
|000001e0| 72 70 20 6d 61 74 68 2d | 74 72 75 6e 63 20 69 6e |rp math-|trunc in|
|000001f0| 74 65 67 65 72 70 20 65 | 72 72 6f 72 20 22 41 72 |tegerp e|rror "Ar|
|00000200| 67 75 6d 65 6e 74 20 6d | 75 73 74 20 62 65 20 61 |gument m|ust be a|
|00000210| 20 73 6d 61 6c 6c 20 69 | 6e 74 65 67 65 72 22 20 | small i|nteger" |
|00000220| 63 61 6c 63 2d 70 6f 70 | 2d 73 74 61 63 6b 20 6d |calc-pop|-stack m|
|00000230| 65 73 73 61 67 65 20 22 | 25 64 2d 22 5d 20 31 31 |essage "|%d-"] 11|
|00000240| 29 29 5d 20 32 29 29 0a | 0a 28 64 65 66 75 6e 20 |))] 2)).|.(defun |
|00000250| 63 61 6c 63 2d 6d 6f 72 | 65 2d 72 65 63 75 72 73 |calc-mor|e-recurs|
|00000260| 69 6f 6e 2d 64 65 70 74 | 68 20 28 6e 29 20 28 69 |ion-dept|h (n) (i|
|00000270| 6e 74 65 72 61 63 74 69 | 76 65 20 22 50 22 29 20 |nteracti|ve "P") |
|00000280| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c1 c2 |(byte-co|de "....|
|00000290| 21 87 22 20 5b 6e 69 6c | 20 63 61 6c 63 2d 64 6f |!." [nil| calc-do|
|000002a0| 20 28 6c 61 6d 62 64 61 | 20 6e 69 6c 20 28 62 79 | (lambda| nil (by|
|000002b0| 74 65 2d 63 6f 64 65 20 | 22 c3 20 83 0b 00 c4 08 |te-code |". .....|
|000002c0| 21 82 2e 00 08 83 15 00 | c5 08 21 82 16 00 c6 18 |!.......|..!.....|
|000002d0| 08 c7 56 85 28 00 c8 09 | 08 5c 22 11 c8 0a 08 5c |..V.(...|.\"....\|
|000002e0| 22 89 12 29 88 c9 ca 0a | 5c 22 87 22 20 5b 6e 20 |"..)....|\"." [n |
|000002f0| 6d 61 78 2d 73 70 65 63 | 70 64 6c 2d 73 69 7a 65 |max-spec|pdl-size|
|00000300| 20 6d 61 78 2d 6c 69 73 | 70 2d 65 76 61 6c 2d 64 | max-lis|p-eval-d|
|00000310| 65 70 74 68 20 63 61 6c | 63 2d 69 73 2d 69 6e 76 |epth cal|c-is-inv|
|00000320| 65 72 73 65 20 63 61 6c | 63 2d 6c 65 73 73 2d 72 |erse cal|c-less-r|
|00000330| 65 63 75 72 73 69 6f 6e | 2d 64 65 70 74 68 20 70 |ecursion|-depth p|
|00000340| 72 65 66 69 78 2d 6e 75 | 6d 65 72 69 63 2d 76 61 |refix-nu|meric-va|
|00000350| 6c 75 65 20 32 20 31 20 | 2a 20 6d 65 73 73 61 67 |lue 2 1 |* messag|
|00000360| 65 20 22 6d 61 78 2d 6c | 69 73 70 2d 65 76 61 6c |e "max-l|isp-eval|
|00000370| 2d 64 65 70 74 68 20 69 | 73 20 6e 6f 77 20 25 64 |-depth i|s now %d|
|00000380| 22 5d 20 38 29 29 5d 20 | 32 29 29 0a 0a 28 64 65 |"] 8))] |2))..(de|
|00000390| 66 75 6e 20 63 61 6c 63 | 2d 6c 65 73 73 2d 72 65 |fun calc|-less-re|
|000003a0| 63 75 72 73 69 6f 6e 2d | 64 65 70 74 68 20 28 6e |cursion-|depth (n|
|000003b0| 29 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |) (inter|active "|
|000003c0| 50 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |P") (byt|e-code "|
|000003d0| c3 88 08 83 0c 00 c4 08 | 21 82 0d 00 c5 18 08 c6 |........|!.......|
|000003e0| 56 85 23 00 c7 09 08 5c | 22 c8 5d 11 c7 0a 08 5c |V.#....\|".]....\|
|000003f0| 22 c9 5d 89 12 29 88 ca | cb 0a 5c 22 87 22 20 5b |".]..)..|..\"." [|
|00000400| 6e 20 6d 61 78 2d 73 70 | 65 63 70 64 6c 2d 73 69 |n max-sp|ecpdl-si|
|00000410| 7a 65 20 6d 61 78 2d 6c | 69 73 70 2d 65 76 61 6c |ze max-l|isp-eval|
|00000420| 2d 64 65 70 74 68 20 6e | 69 6c 20 70 72 65 66 69 |-depth n|il prefi|
|00000430| 78 2d 6e 75 6d 65 72 69 | 63 2d 76 61 6c 75 65 20 |x-numeri|c-value |
|00000440| 32 20 31 20 2f 20 36 30 | 30 20 32 30 30 20 6d 65 |2 1 / 60|0 200 me|
|00000450| 73 73 61 67 65 20 22 6d | 61 78 2d 6c 69 73 70 2d |ssage "m|ax-lisp-|
|00000460| 65 76 61 6c 2d 64 65 70 | 74 68 20 69 73 20 6e 6f |eval-dep|th is no|
|00000470| 77 20 25 64 22 5d 20 36 | 29 29 0a 0a 28 64 65 66 |w %d"] 6|))..(def|
|00000480| 75 6e 20 63 61 6c 63 2d | 65 78 70 6c 61 69 6e 2d |un calc-|explain-|
|00000490| 77 68 79 20 28 77 68 79 | 20 26 6f 70 74 69 6f 6e |why (why| &option|
|000004a0| 61 6c 20 6d 6f 72 65 29 | 20 28 62 79 74 65 2d 63 |al more)| (byte-c|
|000004b0| 6f 64 65 20 22 08 40 c8 | 3d 85 0b 00 08 41 89 10 |ode ".@.|=....A..|
|000004c0| 88 08 40 19 c9 08 38 1a | 09 3f 83 1c 00 ca 82 53 |..@...8.|.?.....S|
|000004d0| 02 09 3b 83 25 00 09 82 | 53 02 09 cb 3d 83 2f 00 |..;.%...|S...=./.|
|000004e0| cc 82 53 02 09 cd 3d 83 | 5c 5c 00 0a 85 51 00 0a |..S...=.|\\...Q..|
|000004f0| 3a 3f 86 43 00 0a 40 ce | 3e 85 51 00 0a 3a 3f 86 |:?.C..@.|>.Q..:?.|
|00000500| 50 00 0a 40 cf 3e 3f 83 | 58 00 cc 82 59 00 d0 82 |P..@.>?.|X...Y...|
|00000510| 53 02 09 d1 3d 83 89 00 | 0a 85 7e 00 0a 3a 3f 86 |S...=...|..~..:?.|
|00000520| 70 00 0a 40 d2 3e 85 7e | 00 0a 3a 3f 86 7d 00 0a |p..@.>.~|..:?.}..|
|00000530| 40 d3 3e 3f 83 85 00 cc | 82 86 00 d4 82 53 02 09 |@.>?....|.....S..|
|00000540| d5 3d 83 a8 00 0a 85 9d | 00 0a 3a 3f 86 9d 00 0a |.=......|..:?....|
|00000550| 40 d6 3e 83 a4 00 d7 82 | a5 00 cc 82 53 02 09 d8 |@.>.....|....S...|
|00000560| 3d 83 ef 00 0a 85 c1 00 | 0a 3a 83 be 00 0a 40 d9 |=.......|.:....@.|
|00000570| 3d 82 c1 00 0a da 59 83 | c8 00 d7 82 ec 00 0a 85 |=.....Y.|........|
|00000580| e4 00 0a 3a 3f 86 d6 00 | 0a 40 db 3e 85 e4 00 0a |...:?...|.@.>....|
|00000590| 3a 3f 86 e3 00 0a 40 dc | 3e 3f 83 eb 00 cc 82 ec |:?....@.|>?......|
|000005a0| 00 d0 82 53 02 09 dd 3d | 83 70 01 0a 85 42 01 0a |...S...=|.p...B..|
|000005b0| 3a 3f 86 03 01 0a 40 de | 3e 85 42 01 0a 3a 83 3f |:?....@.|>.B..:.?|
|000005c0| 01 0a 40 d9 3d 86 3c 01 | 0a 40 df 3d 3f 85 3c 01 |..@.=.<.|.@.=?.<.|
|000005d0| 0a 40 e0 3e 83 39 01 c9 | 0a 38 3a 83 31 01 c9 0a |.@.>.9..|.8:.1...|
|000005e0| 38 40 d9 3d 82 36 01 c9 | 0a 38 da 56 82 3c 01 e1 |8@.=.6..|.8.V.<..|
|000005f0| 0a 21 82 42 01 0a da 56 | 83 49 01 d7 82 6d 01 0a |.!.B...V|.I...m..|
|00000600| 85 65 01 0a 3a 3f 86 57 | 01 0a 40 e2 3e 85 65 01 |.e..:?.W|..@.>.e.|
|00000610| 0a 3a 3f 86 64 01 0a 40 | e3 3e 3f 83 6c 01 cc 82 |.:?.d..@|.>?.l...|
|00000620| 6d 01 d4 82 53 02 09 e4 | 3d 83 7a 01 e5 82 53 02 |m...S...|=.z...S.|
|00000630| 09 e6 3d 83 84 01 e7 82 | 53 02 09 e8 3d 83 8e 01 |..=.....|S...=...|
|00000640| e9 82 53 02 09 ea 3d 83 | 98 01 eb 82 53 02 09 ec |..S...=.|....S...|
|00000650| 3d 83 a2 01 eb 82 53 02 | 09 ed 3d 83 ac 01 ee 82 |=.....S.|..=.....|
|00000660| 53 02 09 ef 3d 83 d9 01 | 0a 85 ce 01 0a 3a 3f 86 |S...=...|.....:?.|
|00000670| c0 01 0a 40 f0 3e 85 ce | 01 0a 3a 3f 86 cd 01 0a |...@.>..|..:?....|
|00000680| 40 f1 3e 3f 83 d5 01 f2 | 82 d6 01 f3 82 53 02 09 |@.>?....|.....S..|
|00000690| f4 3d 83 e3 01 f5 82 53 | 02 09 f6 3d 83 ed 01 f5 |.=.....S|...=....|
|000006a0| 82 53 02 09 f7 3d 83 f7 | 01 f8 82 53 02 09 f9 3d |.S...=..|...S...=|
|000006b0| 83 01 02 fa 82 53 02 09 | fb 3d 83 0b 02 fc 82 53 |.....S..|.=.....S|
|000006c0| 02 09 fd 3d 83 23 02 0a | 85 18 02 fe 0a 21 83 1f |...=.#..|.....!..|
|000006d0| 02 ff 82 20 02 fc 82 53 | 02 09 81 40 00 3d 83 2f |... ...S|...@.=./|
|000006e0| 02 f5 82 53 02 09 81 41 | 00 3d 83 3d 02 81 42 00 |...S...A|.=.=..B.|
|000006f0| 82 53 02 09 81 43 00 3d | 83 4b 02 81 44 00 82 53 |.S...C.=|.K..D..S|
|00000700| 02 81 45 00 81 46 00 09 | 5c 22 1b 81 47 00 1d c4 |..E..F..|\"..G...|
|00000710| 1e 06 08 41 89 10 85 86 | 02 08 40 85 82 02 0b 0d |...A....|..@.....|
|00000720| 08 40 3b 83 74 02 08 40 | 82 7b 02 81 48 00 08 40 |.@;.t..@|.{..H..@|
|00000730| da 5c 22 51 13 81 49 00 | 89 15 88 82 5b 02 88 81 |.\"Q..I.|....[...|
|00000740| 4a 00 81 4b 00 0b 0e 07 | 83 99 02 81 4c 00 82 9c |J..K....|....L...|
|00000750| 02 81 4d 00 23 2d 87 22 | 20 5b 77 68 79 20 70 72 |..M.#-."| [why pr|
|00000760| 65 64 20 61 72 67 20 6d | 73 67 20 74 20 70 75 6e |ed arg m|sg t pun|
|00000770| 63 20 63 61 6c 63 2d 63 | 61 6e 2d 61 62 62 72 65 |c calc-c|an-abbre|
|00000780| 76 2d 76 65 63 74 6f 72 | 73 20 6d 6f 72 65 20 2a |v-vector|s more *|
|00000790| 20 31 20 22 57 72 6f 6e | 67 20 74 79 70 65 20 6f | 1 "Wron|g type o|
|000007a0| 66 20 61 72 67 75 6d 65 | 6e 74 22 20 69 6e 74 65 |f argume|nt" inte|
|000007b0| 67 65 72 70 20 22 49 6e | 74 65 67 65 72 20 65 78 |gerp "In|teger ex|
|000007c0| 70 65 63 74 65 64 22 20 | 6e 61 74 6e 75 6d 70 20 |pected" |natnump |
|000007d0| 28 62 69 67 70 6f 73 20 | 62 69 67 6e 65 67 20 66 |(bigpos |bigneg f|
|000007e0| 72 61 63 20 66 6c 6f 61 | 74 20 63 70 6c 78 20 70 |rac floa|t cplx p|
|000007f0| 6f 6c 61 72 20 68 6d 73 | 20 64 61 74 65 20 73 64 |olar hms| date sd|
|00000800| 65 76 20 69 6e 74 76 20 | 6d 6f 64 20 76 65 63 29 |ev intv |mod vec)|
|00000810| 20 28 62 69 67 70 6f 73 | 20 62 69 67 6e 65 67 29 | (bigpos| bigneg)|
|00000820| 20 22 4e 6f 6e 6e 65 67 | 61 74 69 76 65 20 69 6e | "Nonneg|ative in|
|00000830| 74 65 67 65 72 20 65 78 | 70 65 63 74 65 64 22 20 |teger ex|pected" |
|00000840| 70 6f 73 69 6e 74 70 20 | 28 62 69 67 70 6f 73 20 |posintp |(bigpos |
|00000850| 62 69 67 6e 65 67 20 66 | 72 61 63 20 66 6c 6f 61 |bigneg f|rac floa|
|00000860| 74 20 63 70 6c 78 20 70 | 6f 6c 61 72 20 68 6d 73 |t cplx p|olar hms|
|00000870| 20 64 61 74 65 20 73 64 | 65 76 20 69 6e 74 76 20 | date sd|ev intv |
|00000880| 6d 6f 64 20 76 65 63 29 | 20 28 62 69 67 70 6f 73 |mod vec)| (bigpos|
|00000890| 20 62 69 67 6e 65 67 29 | 20 22 50 6f 73 69 74 69 | bigneg)| "Positi|
|000008a0| 76 65 20 69 6e 74 65 67 | 65 72 20 65 78 70 65 63 |ve integ|er expec|
|000008b0| 74 65 64 22 20 66 69 78 | 6e 75 6d 70 20 28 62 69 |ted" fix|nump (bi|
|000008c0| 67 70 6f 73 20 62 69 67 | 6e 65 67 29 20 22 53 6d |gpos big|neg) "Sm|
|000008d0| 61 6c 6c 20 69 6e 74 65 | 67 65 72 20 65 78 70 65 |all inte|ger expe|
|000008e0| 63 74 65 64 22 20 66 69 | 78 6e 61 74 6e 75 6d 70 |cted" fi|xnatnump|
|000008f0| 20 62 69 67 70 6f 73 20 | 30 20 28 62 69 67 70 6f | bigpos |0 (bigpo|
|00000900| 73 20 62 69 67 6e 65 67 | 20 66 72 61 63 20 66 6c |s bigneg| frac fl|
|00000910| 6f 61 74 20 63 70 6c 78 | 20 70 6f 6c 61 72 20 68 |oat cplx| polar h|
|00000920| 6d 73 20 64 61 74 65 20 | 73 64 65 76 20 69 6e 74 |ms date |sdev int|
|00000930| 76 20 6d 6f 64 20 76 65 | 63 29 20 28 62 69 67 70 |v mod ve|c) (bigp|
|00000940| 6f 73 20 62 69 67 6e 65 | 67 29 20 66 69 78 70 6f |os bigne|g) fixpo|
|00000950| 73 69 6e 74 70 20 28 62 | 69 67 70 6f 73 20 62 69 |sintp (b|igpos bi|
|00000960| 67 6e 65 67 29 20 62 69 | 67 6e 65 67 20 28 66 72 |gneg) bi|gneg (fr|
|00000970| 61 63 20 66 6c 6f 61 74 | 29 20 6d 61 74 68 2d 70 |ac float|) math-p|
|00000980| 6f 73 70 20 28 62 69 67 | 70 6f 73 20 62 69 67 6e |osp (big|pos bign|
|00000990| 65 67 20 66 72 61 63 20 | 66 6c 6f 61 74 20 63 70 |eg frac |float cp|
|000009a0| 6c 78 20 70 6f 6c 61 72 | 20 68 6d 73 20 64 61 74 |lx polar| hms dat|
|000009b0| 65 20 73 64 65 76 20 69 | 6e 74 76 20 6d 6f 64 20 |e sdev i|ntv mod |
|000009c0| 76 65 63 29 20 28 62 69 | 67 70 6f 73 20 62 69 67 |vec) (bi|gpos big|
|000009d0| 6e 65 67 29 20 70 6f 73 | 70 20 22 50 6f 73 69 74 |neg) pos|p "Posit|
|000009e0| 69 76 65 20 6e 75 6d 62 | 65 72 20 65 78 70 65 63 |ive numb|er expec|
|000009f0| 74 65 64 22 20 6e 65 67 | 70 20 22 4e 65 67 61 74 |ted" neg|p "Negat|
|00000a00| 69 76 65 20 6e 75 6d 62 | 65 72 20 65 78 70 65 63 |ive numb|er expec|
|00000a10| 74 65 64 22 20 6e 6f 6e | 7a 65 72 6f 70 20 22 4e |ted" non|zerop "N|
|00000a20| 6f 6e 7a 65 72 6f 20 6e | 75 6d 62 65 72 20 65 78 |onzero n|umber ex|
|00000a30| 70 65 63 74 65 64 22 20 | 72 65 61 6c 70 20 22 52 |pected" |realp "R|
|00000a40| 65 61 6c 20 6e 75 6d 62 | 65 72 20 65 78 70 65 63 |eal numb|er expec|
|00000a50| 74 65 64 22 20 61 6e 67 | 6c 65 70 20 68 6d 73 70 |ted" ang|lep hmsp|
|00000a60| 20 22 48 4d 53 20 66 6f | 72 6d 20 65 78 70 65 63 | "HMS fo|rm expec|
|00000a70| 74 65 64 22 20 64 61 74 | 65 70 20 28 62 69 67 70 |ted" dat|ep (bigp|
|00000a80| 6f 73 20 62 69 67 6e 65 | 67 20 66 72 61 63 20 66 |os bigne|g frac f|
|00000a90| 6c 6f 61 74 20 63 70 6c | 78 20 70 6f 6c 61 72 20 |loat cpl|x polar |
|00000aa0| 68 6d 73 20 64 61 74 65 | 20 73 64 65 76 20 69 6e |hms date| sdev in|
|00000ab0| 74 76 20 6d 6f 64 29 20 | 28 62 69 67 70 6f 73 20 |tv mod) |(bigpos |
|00000ac0| 62 69 67 6e 65 67 20 66 | 72 61 63 20 66 6c 6f 61 |bigneg f|rac floa|
|00000ad0| 74 29 20 22 52 65 61 6c | 20 6e 75 6d 62 65 72 20 |t) "Real| number |
|00000ae0| 6f 72 20 64 61 74 65 20 | 66 6f 72 6d 20 65 78 70 |or date |form exp|
|00000af0| 65 63 74 65 64 22 20 22 | 44 61 74 65 20 66 6f 72 |ected" "|Date for|
|00000b00| 6d 20 65 78 70 65 63 74 | 65 64 22 20 6e 75 6d 62 |m expect|ed" numb|
|00000b10| 65 72 70 20 22 4e 75 6d | 62 65 72 20 65 78 70 65 |erp "Num|ber expe|
|00000b20| 63 74 65 64 22 20 73 63 | 61 6c 61 72 70 20 76 65 |cted" sc|alarp ve|
|00000b30| 63 74 6f 72 70 20 22 56 | 65 63 74 6f 72 20 6f 72 |ctorp "V|ector or|
|00000b40| 20 6d 61 74 72 69 78 20 | 65 78 70 65 63 74 65 64 | matrix |expected|
|00000b50| 22 20 6e 75 6d 76 65 63 | 70 20 22 4e 75 6d 62 65 |" numvec|p "Numbe|
|00000b60| 72 20 6f 72 20 76 65 63 | 74 6f 72 20 65 78 70 65 |r or vec|tor expe|
|00000b70| 63 74 65 64 22 20 6d 61 | 74 72 69 78 70 20 22 4d |cted" ma|trixp "M|
|00000b80| 61 74 72 69 78 20 65 78 | 70 65 63 74 65 64 22 20 |atrix ex|pected" |
|00000b90| 73 71 75 61 72 65 2d 6d | 61 74 72 69 78 70 20 6d |square-m|atrixp m|
|00000ba0| 61 74 68 2d 6d 61 74 72 | 69 78 70 20 22 53 71 75 |ath-matr|ixp "Squ|
|00000bb0| 61 72 65 20 6d 61 74 72 | 69 78 20 65 78 70 65 63 |are matr|ix expec|
|00000bc0| 74 65 64 22 20 6f 62 6a | 65 63 74 70 20 63 6f 6e |ted" obj|ectp con|
|00000bd0| 73 74 70 20 22 43 6f 6e | 73 74 61 6e 74 20 65 78 |stp "Con|stant ex|
|00000be0| 70 65 63 74 65 64 22 20 | 72 61 6e 67 65 20 22 41 |pected" |range "A|
|00000bf0| 72 67 75 6d 65 6e 74 20 | 6f 75 74 20 6f 66 20 72 |rgument |out of r|
|00000c00| 61 6e 67 65 22 20 66 6f | 72 6d 61 74 20 22 25 73 |ange" fo|rmat "%s|
|00000c10| 20 65 78 70 65 63 74 65 | 64 22 20 22 3a 20 22 20 | expecte|d" ": " |
|00000c20| 6d 61 74 68 2d 66 6f 72 | 6d 61 74 2d 66 6c 61 74 |math-for|mat-flat|
|00000c30| 2d 65 78 70 72 20 22 2c | 20 22 20 6d 65 73 73 61 |-expr ",| " messa|
|00000c40| 67 65 20 22 25 73 25 73 | 22 20 22 20 20 5b 77 3d |ge "%s%s|" " [w=|
|00000c50| 6d 6f 72 65 5d 22 20 22 | 22 5d 20 39 29 29 0a 0a |more]" "|"] 9))..|
|00000c60| 28 64 65 66 75 6e 20 63 | 61 6c 63 2d 77 68 79 20 |(defun c|alc-why |
|00000c70| 6e 69 6c 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |nil (int|eractive|
|00000c80| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c5 88 |) (byte-|code "..|
|00000c90| 08 09 3d 3f 85 19 00 09 | 0a 3d 83 16 00 0c 41 89 |..=?....|.=....A.|
|00000ca0| 13 82 19 00 0c 89 13 88 | 0b 83 2c 00 c6 0b 40 0b |........|..,...@.|
|00000cb0| 41 5c 22 88 0b 41 89 13 | 82 3d 00 0c 83 3a 00 c7 |A\"..A..|.=...:..|
|00000cc0| c8 21 88 0c 89 13 82 3d | 00 c7 c9 21 87 22 20 5b |.!.....=|...!." [|
|00000cd0| 74 68 69 73 2d 63 6f 6d | 6d 61 6e 64 20 6c 61 73 |this-com|mand las|
|00000ce0| 74 2d 63 6f 6d 6d 61 6e | 64 20 63 61 6c 63 2d 6c |t-comman|d calc-l|
|00000cf0| 61 73 74 2d 77 68 79 2d | 63 6f 6d 6d 61 6e 64 20 |ast-why-|command |
|00000d00| 63 61 6c 63 2d 77 68 69 | 63 68 2d 77 68 79 20 63 |calc-whi|ch-why c|
|00000d10| 61 6c 63 2d 77 68 79 20 | 6e 69 6c 20 63 61 6c 63 |alc-why |nil calc|
|00000d20| 2d 65 78 70 6c 61 69 6e | 2d 77 68 79 20 6d 65 73 |-explain|-why mes|
|00000d30| 73 61 67 65 20 22 28 4e | 6f 20 66 75 72 74 68 65 |sage "(N|o furthe|
|00000d40| 72 20 65 78 70 6c 61 6e | 61 74 69 6f 6e 73 20 61 |r explan|ations a|
|00000d50| 76 61 69 6c 61 62 6c 65 | 29 22 20 22 4e 6f 20 65 |vailable|)" "No e|
|00000d60| 78 70 6c 61 6e 61 74 69 | 6f 6e 73 20 61 76 61 69 |xplanati|ons avai|
|00000d70| 6c 61 62 6c 65 22 5d 20 | 34 29 29 0a 0a 28 73 65 |lable"] |4))..(se|
|00000d80| 74 71 20 63 61 6c 63 2d | 77 68 69 63 68 2d 77 68 |tq calc-|which-wh|
|00000d90| 79 20 6e 69 6c 29 0a 0a | 28 73 65 74 71 20 63 61 |y nil)..|(setq ca|
|00000da0| 6c 63 2d 6c 61 73 74 2d | 77 68 79 2d 63 6f 6d 6d |lc-last-|why-comm|
|00000db0| 61 6e 64 20 6e 69 6c 29 | 0a 0a 28 64 65 66 75 6e |and nil)|..(defun|
|00000dc0| 20 63 61 6c 63 2d 76 65 | 72 73 69 6f 6e 20 6e 69 | calc-ve|rsion ni|
|00000dd0| 6c 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |l (inter|active) |
|00000de0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c2 88 c3 c4 |(byte-co|de "....|
|00000df0| 08 09 23 87 22 20 5b 63 | 61 6c 63 2d 76 65 72 73 |..#." [c|alc-vers|
|00000e00| 69 6f 6e 20 63 61 6c 63 | 2d 69 6e 73 74 61 6c 6c |ion calc|-install|
|00000e10| 65 64 2d 64 61 74 65 20 | 6e 69 6c 20 6d 65 73 73 |ed-date |nil mess|
|00000e20| 61 67 65 20 22 43 61 6c | 63 20 25 73 2c 20 69 6e |age "Cal|c %s, in|
|00000e30| 73 74 61 6c 6c 65 64 20 | 25 73 22 5d 20 34 29 29 |stalled |%s"] 4))|
|00000e40| 0a 0a 28 64 65 66 75 6e | 20 63 61 6c 63 2d 66 6c |..(defun| calc-fl|
|00000e50| 75 73 68 2d 63 61 63 68 | 65 73 20 6e 69 6c 20 28 |ush-cach|es nil (|
|00000e60| 69 6e 74 65 72 61 63 74 | 69 76 65 29 20 28 62 79 |interact|ive) (by|
|00000e70| 74 65 2d 63 6f 64 65 20 | 22 c0 88 c1 c2 21 87 22 |te-code |"....!."|
|00000e80| 20 5b 6e 69 6c 20 63 61 | 6c 63 2d 64 6f 20 28 6c | [nil ca|lc-do (l|
|00000e90| 61 6d 62 64 61 20 6e 69 | 6c 20 28 62 79 74 65 2d |ambda ni|l (byte-|
|00000ea0| 63 6f 64 65 20 22 c1 10 | c1 12 c1 13 c1 14 c1 15 |code "..|........|
|00000eb0| c1 16 06 c1 16 07 c1 16 | 08 c1 16 09 c1 16 0a cc |........|........|
|00000ec0| 16 0b c1 16 0d c1 16 0e | c1 16 0f cc 89 16 10 88 |........|........|
|00000ed0| d2 d3 0e 11 5c 22 88 d4 | d5 21 87 22 20 5b 6d 61 |....\"..|.!." [ma|
|00000ee0| 74 68 2d 6c 75 64 2d 63 | 61 63 68 65 20 6e 69 6c |th-lud-c|ache nil|
|00000ef0| 20 6d 61 74 68 2d 6c 6f | 67 32 2d 63 61 63 68 65 | math-lo|g2-cache|
|00000f00| 20 6d 61 74 68 2d 72 61 | 64 69 78 2d 64 69 67 69 | math-ra|dix-digi|
|00000f10| 74 73 2d 63 61 63 68 65 | 20 6d 61 74 68 2d 72 61 |ts-cache| math-ra|
|00000f20| 64 69 78 2d 66 6c 6f 61 | 74 2d 63 61 63 68 65 2d |dix-floa|t-cache-|
|00000f30| 74 61 67 20 6d 61 74 68 | 2d 72 61 6e 64 6f 6d 2d |tag math|-random-|
|00000f40| 63 61 63 68 65 20 6d 61 | 74 68 2d 6d 61 78 2d 64 |cache ma|th-max-d|
|00000f50| 69 67 69 74 73 2d 63 61 | 63 68 65 20 6d 61 74 68 |igits-ca|che math|
|00000f60| 2d 63 68 65 63 6b 65 64 | 2d 72 65 77 72 69 74 65 |-checked|-rewrite|
|00000f70| 73 20 6d 61 74 68 2d 69 | 6e 74 65 67 72 61 6c 2d |s math-i|ntegral-|
|00000f80| 63 61 63 68 65 20 6d 61 | 74 68 2d 75 6e 69 74 73 |cache ma|th-units|
|00000f90| 2d 74 61 62 6c 65 20 6d | 61 74 68 2d 64 65 63 6c |-table m|ath-decl|
|00000fa0| 73 2d 63 61 63 68 65 2d | 74 61 67 20 6d 61 74 68 |s-cache-|tag math|
|00000fb0| 2d 65 76 61 6c 2d 72 75 | 6c 65 73 2d 63 61 63 68 |-eval-ru|les-cach|
|00000fc0| 65 2d 74 61 67 20 74 20 | 6d 61 74 68 2d 67 72 61 |e-tag t |math-gra|
|00000fd0| 70 68 2d 76 61 72 2d 63 | 61 63 68 65 20 6d 61 74 |ph-var-c|ache mat|
|00000fe0| 68 2d 67 72 61 70 68 2d | 64 61 74 61 2d 63 61 63 |h-graph-|data-cac|
|00000ff0| 68 65 20 6d 61 74 68 2d | 66 6f 72 6d 61 74 2d 64 |he math-|format-d|
|00001000| 61 74 65 2d 63 61 63 68 | 65 20 6d 61 74 68 2d 68 |ate-cach|e math-h|
|00001010| 6f 6c 69 64 61 79 73 2d | 63 61 63 68 65 2d 74 61 |olidays-|cache-ta|
|00001020| 67 20 6d 61 74 68 2d 63 | 61 63 68 65 2d 6c 69 73 |g math-c|ache-lis|
|00001030| 74 20 6d 61 70 63 61 72 | 20 28 6c 61 6d 62 64 61 |t mapcar| (lambda|
|00001040| 20 28 78 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 | (x) (by|te-code |
|00001050| 22 08 c1 4c 87 22 20 5b | 78 20 2d 31 30 30 5d 20 |"..L." [|x -100] |
|00001060| 32 29 29 20 6d 65 73 73 | 61 67 65 20 22 41 6c 6c |2)) mess|age "All|
|00001070| 20 69 6e 74 65 72 6e 61 | 6c 20 63 61 6c 63 75 6c | interna|l calcul|
|00001080| 61 74 6f 72 20 63 61 63 | 68 65 73 20 68 61 76 65 |ator cac|hes have|
|00001090| 20 62 65 65 6e 20 72 65 | 73 65 74 2e 22 5d 20 33 | been re|set."] 3|
|000010a0| 29 29 5d 20 32 29 29 0a | 0a 28 64 65 66 75 6e 20 |))] 2)).|.(defun |
|000010b0| 63 61 6c 63 2d 63 6c 65 | 61 6e 20 28 6e 29 20 28 |calc-cle|an (n) (|
|000010c0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 50 22 29 |interact|ive "P")|
|000010d0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 88 c1 | (byte-c|ode "...|
|000010e0| c2 c3 5c 22 87 22 20 5b | 6e 69 6c 20 63 61 6c 63 |..\"." [|nil calc|
|000010f0| 2d 64 6f 20 28 6c 61 6d | 62 64 61 20 6e 69 6c 20 |-do (lam|bda nil |
|00001100| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 c4 3e 3f |(byte-co|de "..>?|
|00001110| 85 08 00 08 18 c5 20 83 | 12 00 c6 82 13 00 c7 19 |...... .|........|
|00001120| c8 c9 ca 0a 83 35 00 cb | 0a 21 1a 09 cc c9 21 0a |.....5..|.!....!.|
|00001130| cd 58 83 2f 00 0a 0b 5c | 5c 82 30 00 0a 45 29 82 |.X./...\|\.0..E).|
|00001140| 3a 00 09 cc c9 21 44 23 | 29 29 87 22 20 5b 63 61 |:....!D#|))." [ca|
|00001150| 6c 63 2d 73 69 6d 70 6c | 69 66 79 2d 6d 6f 64 65 |lc-simpl|ify-mode|
|00001160| 20 66 75 6e 63 20 6e 20 | 63 61 6c 63 2d 69 6e 74 | func n |calc-int|
|00001170| 65 72 6e 61 6c 2d 70 72 | 65 63 20 28 6e 6f 6e 65 |ernal-pr|ec (none|
|00001180| 20 6e 75 6d 29 20 63 61 | 6c 63 2d 69 73 2d 68 79 | num) ca|lc-is-hy|
|00001190| 70 65 72 62 6f 6c 69 63 | 20 63 61 6c 63 46 75 6e |perbolic| calcFun|
|000011a0| 63 2d 63 6c 65 61 6e 20 | 63 61 6c 63 46 75 6e 63 |c-clean |calcFunc|
|000011b0| 2d 70 63 6c 65 61 6e 20 | 63 61 6c 63 2d 65 6e 74 |-pclean |calc-ent|
|000011c0| 65 72 2d 72 65 73 75 6c | 74 20 31 20 22 63 6c 6e |er-resul|t 1 "cln|
|000011d0| 22 20 70 72 65 66 69 78 | 2d 6e 75 6d 65 72 69 63 |" prefix|-numeric|
|000011e0| 2d 76 61 6c 75 65 20 63 | 61 6c 63 2d 74 6f 70 2d |-value c|alc-top-|
|000011f0| 6e 20 30 5d 20 31 30 29 | 29 20 34 32 39 32 5d 20 |n 0] 10)|) 4292] |
|00001200| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 63 61 6c 63 |3))..(de|fun calc|
|00001210| 2d 63 6c 65 61 6e 2d 6e | 75 6d 20 28 6e 75 6d 29 |-clean-n|um (num)|
|00001220| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 20 22 50 | (intera|ctive "P|
|00001230| 22 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c2 |") (byte|-code ".|
|00001240| 88 c3 08 83 0d 00 c4 08 | 21 82 5c 22 00 09 c5 59 |........|!.\"...Y|
|00001250| 85 16 00 09 c6 58 83 1f | 00 09 c5 5a 82 5c 22 00 |.....X..|...Z.\".|
|00001260| c7 c8 21 5b 21 87 22 20 | 5b 6e 75 6d 20 6c 61 73 |..![!." |[num las|
|00001270| 74 2d 63 6f 6d 6d 61 6e | 64 2d 63 68 61 72 20 6e |t-comman|d-char n|
|00001280| 69 6c 20 63 61 6c 63 2d | 63 6c 65 61 6e 20 70 72 |il calc-|clean pr|
|00001290| 65 66 69 78 2d 6e 75 6d | 65 72 69 63 2d 76 61 6c |efix-num|eric-val|
|000012a0| 75 65 20 34 38 20 35 37 | 20 65 72 72 6f 72 20 22 |ue 48 57| error "|
|000012b0| 4e 75 6d 62 65 72 20 72 | 65 71 75 69 72 65 64 22 |Number r|equired"|
|000012c0| 5d 20 34 29 29 0a 0a 28 | 64 65 66 75 6e 20 63 61 |] 4))..(|defun ca|
|000012d0| 6c 63 46 75 6e 63 2d 63 | 6c 65 61 6e 20 28 61 20 |lcFunc-c|lean (a |
|000012e0| 26 6f 70 74 69 6f 6e 61 | 6c 20 70 72 65 63 29 20 |&optiona|l prec) |
|000012f0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 83 5b 00 |(byte-co|de "..[.|
|00001300| 08 3a 85 15 00 08 40 c7 | 3d 85 15 00 c8 08 38 c9 |.:....@.|=.....8.|
|00001310| 59 83 21 00 ca 09 cb 08 | 21 5c 22 82 58 00 cc 08 |Y.!.....|!\".X...|
|00001320| 21 3f 86 2b 00 08 cd 57 | 83 39 00 ce cf 21 88 ca |!?.+...W|.9...!..|
|00001330| 09 08 45 82 58 00 09 3a | 3f 86 43 00 09 40 d0 3e |..E.X..:|?.C..@.>|
|00001340| 3f 83 4e 00 ca 09 08 45 | 82 58 00 08 c2 1c 1b ca |?.N....E|.X......|
|00001350| d1 09 21 21 2a 82 12 01 | d2 09 21 d3 3d 83 8a 00 |..!!*...|..!.=...|
|00001360| d4 c8 09 38 0e 06 d5 3d | 83 73 00 d6 20 82 74 00 |...8...=|.s.. .t.|
|00001370| d7 5c 22 1d d8 d8 d1 d3 | ca d9 09 38 21 ca 0d 21 |.\".....|...8!..!|
|00001380| 45 21 21 21 29 82 12 01 | d2 09 21 da 3e 83 9d 00 |E!!!)...|..!.>...|
|00001390| 09 40 db ca 09 41 5c 22 | 42 82 12 01 d2 09 21 dc |.@...A\"|B.....!.|
|000013a0| 3e 83 b2 00 d1 09 40 db | ca 09 41 5c 22 42 21 82 |>.....@.|..A\"B!.|
|000013b0| 12 01 d2 09 21 c7 3d 83 | f4 00 0c 83 f0 00 c8 09 |....!.=.|........|
|000013c0| 38 0b 5b 56 86 d0 00 dd | 0b 5b de 09 21 5c 22 df |8.[V....|.[..!\".|
|000013d0| 55 83 ec 00 e0 09 21 85 | df 00 e1 de 09 21 0b 5c |U.....!.|.....!.\|
|000013e0| 22 83 e8 00 cb 09 21 82 | e9 00 09 82 ed 00 c9 82 |".....!.|........|
|000013f0| f1 00 09 82 12 01 09 3a | 3f 86 fe 00 09 40 e2 3e |.......:|?....@.>|
|00001400| 83 05 01 09 82 12 01 e3 | 09 21 83 0f 01 09 82 12 |........|.!......|
|00001410| 01 ca 09 44 87 22 20 5b | 70 72 65 63 20 61 20 74 |...D." [|prec a t|
|00001420| 20 63 61 6c 63 2d 69 6e | 74 65 72 6e 61 6c 2d 70 | calc-in|ternal-p|
|00001430| 72 65 63 20 6d 61 74 68 | 2d 63 68 6f 70 70 69 6e |rec math|-choppin|
|00001440| 67 2d 73 6d 61 6c 6c 20 | 74 68 65 74 61 20 63 61 |g-small |theta ca|
|00001450| 6c 63 2d 61 6e 67 6c 65 | 2d 6d 6f 64 65 20 66 6c |lc-angle|-mode fl|
|00001460| 6f 61 74 20 32 20 30 20 | 63 61 6c 63 46 75 6e 63 |oat 2 0 |calcFunc|
|00001470| 2d 63 6c 65 61 6e 20 6d | 61 74 68 2d 74 72 75 6e |-clean m|ath-trun|
|00001480| 63 20 69 6e 74 65 67 65 | 72 70 20 33 20 63 61 6c |c intege|rp 3 cal|
|00001490| 63 2d 72 65 63 6f 72 64 | 2d 77 68 79 20 22 2a 50 |c-record|-why "*P|
|000014a0| 72 65 63 69 73 69 6f 6e | 20 6d 75 73 74 20 62 65 |recision| must be|
|000014b0| 20 61 6e 20 69 6e 74 65 | 67 65 72 20 33 20 6f 72 | an inte|ger 3 or|
|000014c0| 20 61 62 6f 76 65 22 20 | 28 62 69 67 70 6f 73 20 | above" |(bigpos |
|000014d0| 62 69 67 6e 65 67 20 66 | 72 61 63 20 66 6c 6f 61 |bigneg f|rac floa|
|000014e0| 74 20 63 70 6c 78 20 70 | 6f 6c 61 72 20 68 6d 73 |t cplx p|olar hms|
|000014f0| 20 64 61 74 65 20 73 64 | 65 76 20 69 6e 74 76 20 | date sd|ev intv |
|00001500| 6d 6f 64 20 76 65 63 29 | 20 6d 61 74 68 2d 6e 6f |mod vec)| math-no|
|00001510| 72 6d 61 6c 69 7a 65 20 | 63 61 72 2d 73 61 66 65 |rmalize |car-safe|
|00001520| 20 70 6f 6c 61 72 20 6d | 61 74 68 2d 6d 6f 64 20 | polar m|ath-mod |
|00001530| 72 61 64 20 6d 61 74 68 | 2d 74 77 6f 2d 70 69 20 |rad math|-two-pi |
|00001540| 33 36 30 20 6d 61 74 68 | 2d 6e 65 67 20 31 20 28 |360 math|-neg 1 (|
|00001550| 76 65 63 20 64 61 74 65 | 20 68 6d 73 29 20 6d 61 |vec date| hms) ma|
|00001560| 70 63 61 72 20 28 63 70 | 6c 78 20 6d 6f 64 20 73 |pcar (cp|lx mod s|
|00001570| 64 65 76 20 69 6e 74 76 | 29 20 6d 61 74 68 2d 63 |dev intv|) math-c|
|00001580| 6f 6d 70 61 72 65 20 63 | 61 6c 63 46 75 6e 63 2d |ompare c|alcFunc-|
|00001590| 78 70 6f 6e 20 2d 31 20 | 6d 61 74 68 2d 6e 75 6d |xpon -1 |math-num|
|000015a0| 2d 69 6e 74 65 67 65 72 | 70 20 6d 61 74 68 2d 6c |-integer|p math-l|
|000015b0| 65 73 73 70 20 28 62 69 | 67 70 6f 73 20 62 69 67 |essp (bi|gpos big|
|000015c0| 6e 65 67 20 66 72 61 63 | 20 66 6c 6f 61 74 20 63 |neg frac| float c|
|000015d0| 70 6c 78 20 70 6f 6c 61 | 72 20 68 6d 73 20 64 61 |plx pola|r hms da|
|000015e0| 74 65 20 73 64 65 76 20 | 69 6e 74 76 20 6d 6f 64 |te sdev |intv mod|
|000015f0| 29 20 6d 61 74 68 2d 69 | 6e 66 69 6e 69 74 65 70 |) math-i|nfinitep|
|00001600| 5d 20 32 39 29 29 0a 0a | 28 73 65 74 71 20 6d 61 |] 29))..|(setq ma|
|00001610| 74 68 2d 63 68 6f 70 70 | 69 6e 67 2d 73 6d 61 6c |th-chopp|ing-smal|
|00001620| 6c 20 6e 69 6c 29 0a 0a | 28 64 65 66 75 6e 20 63 |l nil)..|(defun c|
|00001630| 61 6c 63 46 75 6e 63 2d | 70 63 6c 65 61 6e 20 28 |alcFunc-|pclean (|
|00001640| 61 20 26 6f 70 74 69 6f | 6e 61 6c 20 70 72 65 63 |a &optio|nal prec|
|00001650| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 c2 |) (byte-|code "..|
|00001660| 08 5c 22 87 22 20 5b 61 | 20 6d 61 74 68 2d 6d 61 |.\"." [a| math-ma|
|00001670| 70 2d 6f 76 65 72 2d 63 | 6f 6e 73 74 61 6e 74 73 |p-over-c|onstants|
|00001680| 20 28 6c 61 6d 62 64 61 | 20 28 78 29 20 28 62 79 | (lambda| (x) (by|
|00001690| 74 65 2d 63 6f 64 65 20 | 22 c2 08 09 5c 22 87 22 |te-code |"...\"."|
|000016a0| 20 5b 78 20 70 72 65 63 | 20 63 61 6c 63 46 75 6e | [x prec| calcFun|
|000016b0| 63 2d 63 6c 65 61 6e 5d | 20 33 29 29 5d 20 33 29 |c-clean]| 3))] 3)|
|000016c0| 29 0a 0a 28 64 65 66 75 | 6e 20 63 61 6c 63 46 75 |)..(defu|n calcFu|
|000016d0| 6e 63 2d 70 66 6c 6f 61 | 74 20 28 61 29 20 28 62 |nc-pfloa|t (a) (b|
|000016e0| 79 74 65 2d 63 6f 64 65 | 20 22 c1 c2 08 5c 22 87 |yte-code| "...\".|
|000016f0| 22 20 5b 61 20 6d 61 74 | 68 2d 6d 61 70 2d 6f 76 |" [a mat|h-map-ov|
|00001700| 65 72 2d 63 6f 6e 73 74 | 61 6e 74 73 20 6d 61 74 |er-const|ants mat|
|00001710| 68 2d 66 6c 6f 61 74 5d | 20 33 29 29 0a 0a 28 64 |h-float]| 3))..(d|
|00001720| 65 66 75 6e 20 63 61 6c | 63 46 75 6e 63 2d 70 66 |efun cal|cFunc-pf|
|00001730| 72 61 63 20 28 61 20 26 | 6f 70 74 69 6f 6e 61 6c |rac (a &|optional|
|00001740| 20 74 6f 6c 29 20 28 62 | 79 74 65 2d 63 6f 64 65 | tol) (b|yte-code|
|00001750| 20 22 c1 c2 08 5c 22 87 | 22 20 5b 61 20 6d 61 74 | "...\".|" [a mat|
|00001760| 68 2d 6d 61 70 2d 6f 76 | 65 72 2d 63 6f 6e 73 74 |h-map-ov|er-const|
|00001770| 61 6e 74 73 20 28 6c 61 | 6d 62 64 61 20 28 78 29 |ants (la|mbda (x)|
|00001780| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c2 08 09 | (byte-c|ode "...|
|00001790| 5c 22 87 22 20 5b 78 20 | 74 6f 6c 20 63 61 6c 63 |\"." [x |tol calc|
|000017a0| 46 75 6e 63 2d 66 72 61 | 63 5d 20 33 29 29 5d 20 |Func-fra|c] 3))] |
|000017b0| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 6d 61 74 68 |3))..(de|fun math|
|000017c0| 2d 6d 61 70 2d 6f 76 65 | 72 2d 63 6f 6e 73 74 61 |-map-ove|r-consta|
|000017d0| 6e 74 73 20 28 66 75 6e | 63 20 65 78 70 72 29 20 |nts (fun|c expr) |
|000017e0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 08 21 87 |(byte-co|de "..!.|
|000017f0| 22 20 5b 65 78 70 72 20 | 6d 61 74 68 2d 6d 61 70 |" [expr |math-map|
|00001800| 2d 6f 76 65 72 2d 63 6f | 6e 73 74 61 6e 74 73 2d |-over-co|nstants-|
|00001810| 72 65 63 5d 20 32 29 29 | 0a 0a 28 64 65 66 75 6e |rec] 2))|..(defun|
|00001820| 20 6d 61 74 68 2d 6d 61 | 70 2d 6f 76 65 72 2d 63 | math-ma|p-over-c|
|00001830| 6f 6e 73 74 61 6e 74 73 | 2d 72 65 63 20 28 65 78 |onstants|-rec (ex|
|00001840| 70 72 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |pr) (byt|e-code "|
|00001850| 08 3a 3f 86 0a 00 08 40 | c3 3e 86 11 00 08 40 c4 |.:?....@|.>....@.|
|00001860| 3e 83 2c 00 08 3a 3f 86 | 1e 00 08 40 c5 3e 85 25 |>.,..:?.|...@.>.%|
|00001870| 00 c6 09 08 5c 22 86 29 | 00 08 82 67 00 08 40 c7 |....\".)|...g..@.|
|00001880| 3e 85 4e 00 09 c8 3d 85 | 4e 00 08 47 c9 55 85 4e |>.N...=.|N..G.U.N|
|00001890| 00 ca 08 38 3a 3f 86 4e | 00 ca 08 38 40 cb 3e 83 |...8:?.N|...8@.>.|
|000018a0| 5f 00 08 40 cc cd 08 38 | 21 ca 08 38 45 82 67 00 |_..@...8|!..8E.g.|
|000018b0| 08 40 ce cc 08 41 5c 22 | 42 87 22 20 5b 65 78 70 |.@...A\"|B." [exp|
|000018c0| 72 20 66 75 6e 63 20 74 | 20 28 62 69 67 70 6f 73 |r func t| (bigpos|
|000018d0| 20 62 69 67 6e 65 67 20 | 66 72 61 63 20 66 6c 6f | bigneg |frac flo|
|000018e0| 61 74 20 63 70 6c 78 20 | 70 6f 6c 61 72 20 68 6d |at cplx |polar hm|
|000018f0| 73 20 64 61 74 65 20 6d | 6f 64 20 76 61 72 29 20 |s date m|od var) |
|00001900| 28 69 6e 74 76 20 73 64 | 65 76 29 20 28 62 69 67 |(intv sd|ev) (big|
|00001910| 70 6f 73 20 62 69 67 6e | 65 67 20 66 72 61 63 20 |pos bign|eg frac |
|00001920| 66 6c 6f 61 74 20 63 70 | 6c 78 20 70 6f 6c 61 72 |float cp|lx polar|
|00001930| 20 68 6d 73 20 64 61 74 | 65 20 73 64 65 76 20 69 | hms dat|e sdev i|
|00001940| 6e 74 76 20 6d 6f 64 29 | 20 66 75 6e 63 61 6c 6c |ntv mod)| funcall|
|00001950| 20 28 5e 20 63 61 6c 63 | 46 75 6e 63 2d 73 75 62 | (^ calc|Func-sub|
|00001960| 73 63 72 29 20 6d 61 74 | 68 2d 66 6c 6f 61 74 20 |scr) mat|h-float |
|00001970| 33 20 32 20 28 62 69 67 | 70 6f 73 20 62 69 67 6e |3 2 (big|pos bign|
|00001980| 65 67 29 20 6d 61 74 68 | 2d 6d 61 70 2d 6f 76 65 |eg) math|-map-ove|
|00001990| 72 2d 63 6f 6e 73 74 61 | 6e 74 73 2d 72 65 63 20 |r-consta|nts-rec |
|000019a0| 31 20 6d 61 70 63 61 72 | 5d 20 36 29 29 0a |1 mapcar|] 6)). |
+--------+-------------------------+-------------------------+--------+--------+