<s>
Mathomatic	B-Application
is	O
a	O
free	B-Application
,	O
portable	O
,	O
general-purpose	B-Architecture
computer	B-General_Concept
algebra	I-General_Concept
system	I-General_Concept
(	O
CAS	O
)	O
that	O
can	O
symbolically	B-Algorithm
solve	O
,	O
simplify	O
,	O
combine	O
,	O
and	O
compare	O
algebraic	O
equations	O
,	O
and	O
can	O
perform	O
complex	O
number	O
,	O
modular	O
,	O
and	O
polynomial	O
arithmetic	O
,	O
along	O
with	O
standard	O
arithmetic	O
.	O
</s>
<s>
It	O
does	O
some	O
symbolic	O
calculus	O
(	O
derivative	B-Algorithm
,	O
extrema	O
,	O
Taylor	O
series	O
,	O
and	O
polynomial	O
integration	B-Algorithm
and	O
Laplace	O
transforms	O
)	O
,	O
numerical	B-Algorithm
integration	I-Algorithm
,	O
and	O
handles	O
all	O
elementary	O
algebra	O
except	O
logarithms	O
.	O
</s>
<s>
Not	O
currently	O
implemented	O
are	O
general	O
functions	O
like	O
f(x )	O
,	O
arbitrary-precision	B-Algorithm
and	O
interval	B-Algorithm
arithmetic	I-Algorithm
,	O
and	O
matrices	B-Architecture
.	O
</s>
<s>
Mathomatic	B-Application
excels	O
at	O
solving	O
,	O
differentiating	O
,	O
simplifying	O
,	O
calculating	O
,	O
and	O
visualizing	O
elementary	O
algebra	O
.	O
</s>
<s>
Intermediate	O
results	O
(	O
showing	O
the	O
work	O
)	O
may	O
be	O
displayed	O
by	O
previously	O
typing	O
"	O
set	O
debug	O
1	O
"	O
(	O
see	O
the	O
session	O
example	O
)	O
;	O
this	O
works	O
for	O
solving	O
and	O
almost	O
every	O
command	B-Application
in	O
Mathomatic	B-Application
.	O
</s>
<s>
The	O
software	O
does	O
not	O
include	O
a	O
GUI	B-Application
except	O
with	O
the	O
Mathomatic	B-Application
trademark	O
authorized	O
,	O
versions	O
for	O
smartphones	O
and	O
tablets	O
running	O
iOS	B-Application
or	O
Android	B-Application
.	O
</s>
<s>
The	O
Mathomatic	B-Application
software	O
,	O
available	O
on	O
the	O
official	O
Mathomatic	B-Application
website	O
,	O
is	O
authorized	O
for	O
use	O
in	O
any	O
other	O
type	O
of	O
software	O
,	O
due	O
to	O
its	O
permissive	O
free	B-Application
software	I-Application
license	O
(	O
GNU	B-Application
LGPL	I-Application
)	O
.	O
</s>
<s>
It	O
is	O
available	O
as	O
a	O
free	B-Application
software	I-Application
library	B-Library
,	O
and	O
as	O
a	O
free	B-Application
console	O
mode	O
application	O
that	O
uses	O
a	O
color	O
command-line	B-Application
interface	I-Application
with	O
pretty-print	B-Application
output	O
that	O
runs	O
in	O
a	O
terminal	B-Application
emulator	I-Application
under	O
any	O
operating	O
system	O
.	O
</s>
<s>
All	O
input	O
and	O
output	O
is	O
line-at-a-time	O
ASCII	B-Protocol
text	I-Protocol
.	O
</s>
<s>
Mathomatic	B-Application
is	O
typically	O
compiled	O
with	O
editline	O
or	O
GNU	B-Application
readline	I-Application
for	O
easier	O
input	O
.	O
</s>
<s>
Because	O
all	O
numeric	B-Algorithm
arithmetic	O
is	O
double	O
precision	O
floating	B-Algorithm
point	I-Algorithm
,	O
and	O
round-off	B-Algorithm
error	I-Algorithm
is	O
not	O
tracked	O
,	O
Mathomatic	B-Application
is	O
not	O
suitable	O
for	O
applications	O
requiring	O
high	O
precision	O
,	O
such	O
as	O
astronomical	O
calculations	O
.	O
</s>
<s>
It	O
is	O
useful	O
for	O
symbolic-numeric	B-Algorithm
calculations	O
of	O
about	O
14	O
decimal	O
digits	O
accuracy	O
,	O
although	O
many	O
results	O
will	O
be	O
exact	O
,	O
if	O
possible	O
.	O
</s>
<s>
Mathomatic	B-Application
can	O
be	O
used	O
as	O
a	O
floating	B-Algorithm
point	I-Algorithm
or	O
integer	O
arithmetic	O
code	O
generating	O
tool	O
,	O
simplifying	O
and	O
converting	O
equations	O
into	O
optimized	O
assignment	O
statements	O
in	O
the	O
Python	B-Language
,	O
C	B-Language
,	O
and	O
Java	B-Language
programming	I-Language
languages	I-Language
.	O
</s>
<s>
The	O
output	O
can	O
be	O
made	O
compatible	O
with	O
most	O
other	O
mathematics	O
programs	O
,	O
except	O
TeX	B-Application
and	O
MathML	B-Language
format	O
input/output	O
are	O
currently	O
not	O
available	O
.	O
</s>
<s>
The	O
ASCII	B-Protocol
characters	I-Protocol
that	O
are	O
allowed	O
in	O
Mathomatic	B-Application
variable	O
names	O
is	O
configurable	O
,	O
allowing	O
TeX	B-Application
format	O
variable	O
names	O
.	O
</s>
<s>
The	O
Mathomatic	B-Application
source	O
code	O
can	O
be	O
compiled	O
as	O
a	O
symbolic	B-Algorithm
math	I-Algorithm
library	B-Library
with	O
a	O
very	O
simple	O
API	B-General_Concept
,	O
which	O
can	O
be	O
linked	O
to	O
C	B-Language
compatible	O
programs	O
that	O
need	O
to	O
use	O
the	O
Mathomatic	B-Application
symbolic	B-Algorithm
math	I-Algorithm
engine	O
.	O
</s>
<s>
Development	O
of	O
Mathomatic	B-Application
was	O
started	O
in	O
the	O
year	O
1986	O
by	O
George	O
Gesslein	O
II	O
,	O
as	O
an	O
experiment	O
in	O
computerized	O
mathematics	O
.	O
</s>
<s>
It	O
was	O
originally	O
written	O
in	O
Microsoft	O
C	B-Language
for	O
MS-DOS	B-Application
.	O
</s>
<s>
Afterwards	O
it	O
was	O
released	O
as	O
shareware	B-License
and	O
then	O
emailware	O
,	O
with	O
a	O
2D	O
equation	B-Application
graphing	I-Application
program	O
.	O
</s>
<s>
At	O
the	O
turn	O
of	O
the	O
century	O
,	O
Mathomatic	B-Application
was	O
ported	O
to	O
the	O
GNU	B-Application
C	I-Application
Compiler	I-Application
under	O
Linux	B-Application
and	O
became	O
free	B-Application
software	I-Application
.	O
</s>
<s>
The	O
graphing	O
program	O
was	O
discontinued	O
;	O
2D/3D	O
graphing	O
of	O
equations	O
is	O
now	O
accomplished	O
with	O
gnuplot	B-Application
.	O
</s>
<s>
The	O
name	O
"	O
Mathomatic	B-Application
"	O
is	O
a	O
portmanteau	O
of	O
"	O
math	O
"	O
and	O
"	O
automatic	O
"	O
,	O
and	O
was	O
inspired	O
by	O
the	O
naming	O
and	O
automation	O
of	O
Rog-O-Matic	B-General_Concept
,	O
which	O
was	O
an	O
early	O
experiment	O
in	O
artificial	B-Application
intelligence	I-Application
.	I-Application
</s>
<s>
Mathomatic	B-Application
is	O
available	O
for	O
almost	O
all	O
platforms	O
,	O
including	O
Microsoft	B-Application
Windows	I-Application
using	O
MinGW	B-Application
.	O
</s>
<s>
It	O
is	O
available	O
for	O
Mac	B-Application
OS	I-Application
X	I-Application
,	O
for	O
iOS	B-Application
,	O
for	O
Android	B-Application
,	O
and	O
for	O
the	O
Nintendo	B-Device
DS	I-Device
under	O
DSLinux	O
and	O
stand-alone	O
.	O
</s>
<s>
Fedora	O
Linux	B-Application
,	O
Slackware	B-Application
,	O
Debian	O
,	O
Ubuntu	B-Operating_System
,	O
Gentoo	B-Application
Linux	I-Application
,	O
and	O
all	O
of	O
the	O
main	O
BSD	B-Operating_System
Unix	I-Operating_System
distributions	O
include	O
Mathomatic	B-Application
as	O
an	O
automatically	O
installable	O
package	O
.	O
</s>
<s>
There	O
is	O
a	O
port	O
to	O
JavaScript	B-Language
using	O
Emscripten	B-Language
,	O
allowing	O
Mathomatic	B-Application
to	O
run	O
in	O
a	O
web	B-Application
browser	I-Application
.	O
</s>
<s>
Building	O
from	O
source	O
requires	O
a	O
C	B-Language
compiler	O
with	O
the	O
standard	B-Language
POSIX	I-Language
C	I-Language
libraries	I-Language
.	O
</s>
<s>
If	O
Mathomatic	B-Application
is	O
compiled	O
with	O
the	O
GCC	B-Application
C	B-Language
compiler	O
or	O
the	O
Tiny	B-Language
C	I-Language
Compiler	I-Language
for	O
a	O
Unix-like	B-Operating_System
operating	I-Operating_System
system	I-Operating_System
,	O
no	O
changes	O
need	O
to	O
be	O
made	O
to	O
the	O
source	O
code	O
.	O
</s>
<s>
Mathomatic	B-Application
uses	O
no	O
special	O
GCC	B-Application
only	O
code	O
,	O
so	O
it	O
will	O
usually	O
compile	O
easily	O
with	O
any	O
C	B-Language
compiler	O
.	O
</s>
<s>
Use	O
of	O
the	O
Mathomatic	B-Application
Symbolic	B-Algorithm
Math	I-Algorithm
Library	B-Library
allows	O
mixing	O
programming	O
languages	O
and	O
is	O
operating	O
system	O
independent	O
.	O
</s>
<s>
Mathomatic	B-Application
can	O
be	O
ported	O
to	O
any	O
computer	O
with	O
at	O
least	O
1	O
megabyte	O
of	O
free	B-Application
RAM	B-Architecture
.	O
</s>
<s>
The	O
Mathomatic	B-Application
standard	O
distribution	O
memory	O
requirement	O
defaults	O
to	O
a	O
maximum	O
of	O
400	O
megabytes	O
,	O
depending	O
on	O
the	O
size	O
of	O
the	O
equation	O
spaces	O
and	O
how	O
many	O
expressions	O
have	O
been	O
entered	O
.	O
</s>
<s>
Equation	O
spaces	O
are	O
fixed	O
size	O
arrays	O
that	O
are	O
allocated	B-Language
as	O
needed	O
,	O
the	O
size	O
of	O
which	O
is	O
set	O
during	O
compilation	O
or	O
startup	O
.	O
</s>
<s>
Mathomatic	B-Application
is	O
written	O
to	O
do	O
most	O
symbolic	O
manipulations	O
with	O
memory	O
moves	O
,	O
like	O
an	O
assembly	O
language	O
program	O
.	O
</s>
<s>
This	O
causes	O
Mathomatic	B-Application
to	O
crash	O
when	O
used	O
with	O
the	O
new	O
LLVM	B-Application
backend	O
,	O
which	O
does	O
n't	O
seem	O
to	O
like	O
the	O
standard	O
C	B-Language
library	B-Library
function	I-Library
memmove(3 )	O
.	O
</s>
<s>
To	O
use	O
Mathomatic	B-Application
with	O
a	O
C	B-Language
compiler	O
that	O
uses	O
an	O
LLVM	B-Application
backend	O
,	O
disable	O
all	O
optimizations	O
with	O
"	O
-O0	O
"	O
on	O
the	O
C	B-Language
compiler	O
command	B-Application
line	I-Application
.	O
</s>
<s>
This	O
is	O
most	O
certainly	O
an	O
optimization	O
bug	O
in	O
LLVM	B-Application
.	O
</s>
<s>
To	O
help	O
those	O
trying	O
to	O
debug	O
this	O
optimization	O
error	O
,	O
Mathomatic	B-Application
will	O
fail	O
when	O
LLVM	B-Application
optimizes	O
the	O
simplification	O
of	O
(	O
32^	O
.5	O
)	O
to	O
4*( 2^	O
.5	O
)	O
,	O
and	O
the	O
like	O
,	O
going	O
into	O
an	O
endless	O
loop	O
every	O
time	O
.	O
</s>
