Jump to content

Fractran: Difference between revisions

No change in size ,  10 years ago
m
→‎{{header|REXX}}: increased the number of numeric digits when using larger number of terms.
m (→‎{{header|REXX}}: increased the number of numeric digits when using larger number of terms.)
Line 586:
Programming note: extra blanks can be inserted in the fractions before and/or after the solidus ['''/'''].
<lang rexx>/*REXX pgm runs FRACTAN for a given set of fractions and from a given N.*/
numeric digits 100 1000 /*be able to handle larger nums. */
parse arg N terms fracs /*get optional arguments from CL.*/
if N=='' | N==',' then N=2 /*N specified? No, use default.*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.