bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Access to rational number numerator and denominator


From: Juergen Sauermann
Subject: Re: [Bug-apl] Access to rational number numerator and denominator
Date: Tue, 29 Aug 2017 12:51:30 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Fred,

the existing mechanism is 27 ⎕CR B to get the numerator of B and 28 ⎕CR to get the denominator > 0
of a quotient or 0 if the number is not a quotient (and then 27 ⎕CR is the double B cast to
uint64_t.

Unfortunately there was a bug 28 ⎕CR returning always 0. Fixed in SVN 1004.

Best Regards,
/// Jürgen


On 08/28/2017 11:24 PM, Frederick Pitts wrote:
Hello,

	Is there an existing mechanism for accessing rational number
numerator and denominator parts analogous to that for accessing complex
number real and imaginary parts?  If yes, please let me know how.  If
no, can a mechanism be implemented?

Respectfully,

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]