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