\section{Integer Fractions}
With this module, Rascal supports integer fractions, which is an alternative
to using floating-point numbers:

\begin{lyxcode}
>1/3-(2/7)/(3/8) 

~-3/7

>A=[1 2;3 4];

>1/A

~[-2 1;3/2 -1/2]

>1.0/A

~[-2 1;1.5 -0.5]

>
\end{lyxcode}

As you can see any operation with a double will round the fraction to the
next floating-point number. The fractions are normalized in each step, only
the numerator can be negative.

The standard-operators and functions should be defined for fractions, thus
the user shouldn't feel any difference between fractions and doubles, but
that the latter is less accurate.

Still the abilities of the fractions are limited to the abilities of the
underlying Integer, the following is likely to happen on 32 bit-CPUs:

\begin{lyxcode}
>1/65536+1/65535

~-131071/65536 

>
\end{lyxcode}  

Currently fractions use \emph{long long int} internally, but use the
usual \emph{int} output routines.