Closed mikldk closed 4 years ago
Right, I've missed this one. There's no translation table for constants (there were only two till now, True and False), so I've just added another rule for Pi.
Thank you very much!
@grzegorzmazur: I think Infinity
is missing, too. It must be translated to Inf
. Or am I mistaken?
Sorry... What about Undefined
, too? Maybe as NaN
?
Ok, seems reasonable. It's not exactly the same, but close enough. But for this one you'll have to wait till tomorrow.
Btw, I'm going to release version 1.8 tomorrow.
Perfect! Thanks!
As reported on https://github.com/mikldk/ryacas/issues/31 it seems like
RForm()
does not handlePi
properly. Maybe a line inr_form.rep/code.ys
is needed, e.g.{"Pi","pi"},
, although I am not sure if it should be listed among functions or have its own rule.