|
From: | Juergen Sauermann |
Subject: | [Bug-apl] Rational Numbers |
Date: | Thu, 20 Jul 2017 18:05:03 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Hi, coming back to a proposal from Elias, I have added (experimental) support for rational numbers in GNU APL. SVN 982. It has to be enabled explicitly: ./configure RATIONAL_NUMBERS_WANTED=yes In APL you can display rational numbers by setting ⎕PS[1]: ⎕PS←0 22 2÷3 ╔════════════╗ ║0.6666666667║ ╚════════════╝ ⎕PS←1 22 2÷3 ╔═══╗ ║2÷3║ ╚═══╝ (The second item in ⎕PS is a boxing style as in the ]BOXING command). Best Regards, Jürgen |
[Prev in Thread] | Current Thread | [Next in Thread] |