Juergen Sauermann
2017-07-20 16:05:03 UTC
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
coming back to a proposal from Elias, I have added (experimental)
support<br>
for rational numbers in GNU APL. <b>SVN 982</b>.<br>
<br>
It has to be enabled explicitly:<br>
<br>
<font face="Courier New, Courier, monospace"><b>./configure
RATIONAL_NUMBERS_WANTED=yes</b></font><br>
<br>
In APL you can display rational numbers by setting <b>⎕PS[1]</b>:<br>
<br>
<font face="Courier New, Courier, monospace"><b> ⎕PS←0 22</b><b><br>
</b><b> 2÷3</b><b><br>
</b><b>╔════════════╗</b><b><br>
</b><b>║0.6666666667║</b><b><br>
</b><b>╚════════════╝</b><b><br>
</b><b> ⎕PS←1 22</b><b><br>
</b><b> 2÷3</b><b><br>
</b><b>╔═══╗</b><b><br>
</b><b>║2÷3║</b><b><br>
</b><b>╚═══╝</b></font><br>
<br>
(The second item in <b>⎕PS</b> is a boxing style as in the
]BOXING command).<br>
<br>
Best Regards,<br>
Jürgen<br>
<br>
</font>
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
coming back to a proposal from Elias, I have added (experimental)
support<br>
for rational numbers in GNU APL. <b>SVN 982</b>.<br>
<br>
It has to be enabled explicitly:<br>
<br>
<font face="Courier New, Courier, monospace"><b>./configure
RATIONAL_NUMBERS_WANTED=yes</b></font><br>
<br>
In APL you can display rational numbers by setting <b>⎕PS[1]</b>:<br>
<br>
<font face="Courier New, Courier, monospace"><b> ⎕PS←0 22</b><b><br>
</b><b> 2÷3</b><b><br>
</b><b>╔════════════╗</b><b><br>
</b><b>║0.6666666667║</b><b><br>
</b><b>╚════════════╝</b><b><br>
</b><b> ⎕PS←1 22</b><b><br>
</b><b> 2÷3</b><b><br>
</b><b>╔═══╗</b><b><br>
</b><b>║2÷3║</b><b><br>
</b><b>╚═══╝</b></font><br>
<br>
(The second item in <b>⎕PS</b> is a boxing style as in the
]BOXING command).<br>
<br>
Best Regards,<br>
Jürgen<br>
<br>
</font>
</body>
</html>