Re: Some questions: built-in operators and exponent markers
Raymond Toy <[email protected]> Mon, 13 Jul 2026 14:20:21 -0700
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============0939637148065754306==
Content-Type: multipart/alternative;
boundary="------------dvgGTxsc4QucaqUh6SnIGHwC"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------dvgGTxsc4QucaqUh6SnIGHwC
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 7/12/26 11:31 PM, Astrea Drifter wrote:
>
> Can the exponent marker on bigfloats be changed from b to p without
> editing the source code?
I don’t think there’s any way to change that without touching the source.
> If the answer to either of these questions is "no", would editing the
> source code allow me to do either of these things in the first place?
Probably, but you probably also want to type “3.14p0” and be read it in
correctly. That’s more work.
> If the answer to that question is "yes", are there any tools or
> resources that would help me recompile an edited version of Maxima's
> source code?
Maxima already as a compiler builtin, so put your changes in a file and
do something like:
|(%i1) :lisp (load "/path/new-code.lisp") |
Or
|(%i1) :lisp (load (compile-file "/path/new-code.lisp")) |
​
--------------dvgGTxsc4QucaqUh6SnIGHwC
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8">
<title></title>
<meta charset=3D"utf-8">
</head>
<body>
<div class=3D"markdown-here-wrapper">
<p style=3D"margin-bottom: 19.2px; margin-top: 0px;">On 7/12/26
11:31 PM, Astrea Drifter wrote:<br>
</p>
<blockquote type=3D"cite"
style=3D"border-block-color: rgb(119, 119, 119); border-bottom-color: rgb=
(119, 119, 119); border-inline-color: rgb(114, 159, 207) rgb(119, 119, 11=
9); border-inline-start: 2px solid rgb(114, 159, 207); border-left: 2px s=
olid rgb(114, 159, 207); border-right-color: rgb(119, 119, 119); border-t=
op-color: rgb(119, 119, 119); color: rgb(119, 119, 119); column-rule-colo=
r: rgb(119, 119, 119); margin: 19.2px 0px; outline-color: rgb(119, 119, 1=
19); padding-inline: 16px; padding-left: 16px; padding-right: 16px; quote=
s: none; text-decoration-color: rgb(119, 119, 119); text-emphasis-color: =
rgb(119, 119, 119);">
<div dir=3D"ltr"><font face=3D"arial, sans-serif"><br>
Can the exponent marker on bigfloats be changed from </font><=
font
face=3D"monospace">b</font><font face=3D"arial, sans-serif">=C2=
=A0to
</font><font face=3D"monospace">p</font><font
face=3D"arial, sans-serif">=C2=A0without editing the source c=
ode?<br>
</font></div>
</blockquote>
I don=E2=80=99t think there=E2=80=99s any way to change that withou=
t touching the
source.
<blockquote type=3D"cite"
style=3D"border-block-color: rgb(119, 119, 119); border-bottom-color: rgb=
(119, 119, 119); border-inline-color: rgb(114, 159, 207) rgb(119, 119, 11=
9); border-inline-start: 2px solid rgb(114, 159, 207); border-left: 2px s=
olid rgb(114, 159, 207); border-right-color: rgb(119, 119, 119); border-t=
op-color: rgb(119, 119, 119); color: rgb(119, 119, 119); column-rule-colo=
r: rgb(119, 119, 119); margin: 19.2px 0px; outline-color: rgb(119, 119, 1=
19); padding-inline: 16px; padding-left: 16px; padding-right: 16px; quote=
s: none; text-decoration-color: rgb(119, 119, 119); text-emphasis-color: =
rgb(119, 119, 119);">
<div dir=3D"ltr"><font face=3D"arial, sans-serif">If the answer t=
o
either of these questions is "no", would editing the source
code allow me to do either of these things in the first
place?<br>
</font></div>
</blockquote>
Probably, but you probably also want to type =E2=80=9C3.14p0=E2=80=9D=
and be read
it in correctly. That=E2=80=99s more work.
<blockquote type=3D"cite"
style=3D"border-block-color: rgb(119, 119, 119); border-bottom-color: rgb=
(119, 119, 119); border-inline-color: rgb(114, 159, 207) rgb(119, 119, 11=
9); border-inline-start: 2px solid rgb(114, 159, 207); border-left: 2px s=
olid rgb(114, 159, 207); border-right-color: rgb(119, 119, 119); border-t=
op-color: rgb(119, 119, 119); color: rgb(119, 119, 119); column-rule-colo=
r: rgb(119, 119, 119); margin: 19.2px 0px; outline-color: rgb(119, 119, 1=
19); padding-inline: 16px; padding-left: 16px; padding-right: 16px; quote=
s: none; text-decoration-color: rgb(119, 119, 119); text-emphasis-color: =
rgb(119, 119, 119);">
<div dir=3D"ltr"><font face=3D"arial, sans-serif">If the answer t=
o
that question is "yes", are there any tools or resources
that would help me recompile an edited version of Maxima's
source code?<br>
</font></div>
</blockquote>
Maxima already as a compiler builtin, so put your changes in a
file and do something like:
<pre
style=3D"font-family: Consolas, Inconsolata, Courier, monospace; font-siz=
e: 16px; line-height: 19.2px; margin-bottom: 19.2px; margin-top: 19.2px;"=
><code
style=3D"background-color: rgba(175, 184, 193, 0.2); border-block: 1px so=
lid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204); bord=
er-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-end-e=
nd-radius: 3px; border-end-start-radius: 3px; border-inline: 1px solid rg=
b(204, 204, 204); border-left: 1px solid rgb(204, 204, 204); border-right=
: 1px solid rgb(204, 204, 204); border-start-end-radius: 3px; border-star=
t-start-radius: 3px; border-top: 1px solid rgb(204, 204, 204); border-top=
-left-radius: 3px; border-top-right-radius: 3px; display: block; font-fam=
ily: Consolas, Inconsolata, Courier, monospace; font-size: 16px; font-wei=
ght: 550; line-height: 19.2px; margin-left: 2.4px; margin-right: 2.4px; o=
verflow-block: auto; overflow-inline: auto; overflow: auto; padding-block=
: 8px; padding-bottom: 8px; padding-inline: 11.2px; padding-left: 11.2px;=
padding-right: 11.2px; padding-top: 8px;">(%i1) :lisp (load "/path/new-c=
ode.lisp")
</code></pre>
<p style=3D"margin-bottom: 19.2px; margin-top: 0px;">Or</p>
<pre
style=3D"font-family: Consolas, Inconsolata, Courier, monospace; font-siz=
e: 16px; line-height: 19.2px; margin-bottom: 19.2px; margin-top: 19.2px;"=
><code
style=3D"background-color: rgba(175, 184, 193, 0.2); border-block: 1px so=
lid rgb(204, 204, 204); border-bottom: 1px solid rgb(204, 204, 204); bord=
er-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-end-e=
nd-radius: 3px; border-end-start-radius: 3px; border-inline: 1px solid rg=
b(204, 204, 204); border-left: 1px solid rgb(204, 204, 204); border-right=
: 1px solid rgb(204, 204, 204); border-start-end-radius: 3px; border-star=
t-start-radius: 3px; border-top: 1px solid rgb(204, 204, 204); border-top=
-left-radius: 3px; border-top-right-radius: 3px; display: block; font-fam=
ily: Consolas, Inconsolata, Courier, monospace; font-size: 16px; font-wei=
ght: 550; line-height: 19.2px; margin-left: 2.4px; margin-right: 2.4px; o=
verflow-block: auto; overflow-inline: auto; overflow: auto; padding-block=
: 8px; padding-bottom: 8px; padding-inline: 11.2px; padding-left: 11.2px;=
padding-right: 11.2px; padding-top: 8px;">(%i1) :lisp (load (compile-fil=
e "/path/new-code.lisp"))
</code></pre>
</div>
<div class=3D"mdhr-raw"
style=3D"height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-s=
ize:0;padding:0;margin:0;"
aria-hidden=3D"true"
title=3D"MDH:PGJyPjxicj48ZGl2IGNsYXNzPSJtb3otY2l0ZS1wcmVmaXgiPk9uIDcvMTIv=
MjYgMTE6MzEgUE0sIEFzdHJlYSBEcmlmdGVyIHdyb3RlOjxicj48L2Rpdj48YmxvY2txdW90Z=
SB0eXBlPSJjaXRlIiBjaXRlPSJtaWQ6Q0FEWkZ4Yz1xRjhNY2U9dEZmQm4zT3RXVSttcDVMS2=
tpUGcxTkpiSkRaY0ZSK1RiYU5RQG1haWwuZ21haWwuY29tIj4KPG1ldGEgaHR0cC1lcXVpdj0=
iY29udGVudC10eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7ICI+PGRpdiBkaXI9Imx0ciI+PGZv=
bnQgZmFjZT0iYXJpYWwsIHNhbnMtc2VyaWYiPjxicj5DYW4gdGhlIGV4cG9uZW50IG1hcmtlc=
iBvbiBiaWdmbG9hdHMgYmUgY2hhbmdlZCBmcm9tIDwvZm9udD48Zm9udCBmYWNlPSJtb25vc3=
BhY2UiPmI8L2ZvbnQ+PGZvbnQ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F0YS1zdHJhdGVneT0iZW1vamkiPjwvdWw+">&#8203;</div>=
</body>
</html>
--------------dvgGTxsc4QucaqUh6SnIGHwC--
--===============0939637148065754306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============0939637148065754306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
--===============0939637148065754306==--