Math icon indicating copy to clipboard operation
Math copied to clipboard

x^y not implemented?

Open akalongman opened this issue 10 years ago • 6 comments

x^y functionality not implemented?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

akalongman avatar Jul 03 '15 13:07 akalongman

Nop. But pow can do the trick. Are you talking about the arithmetical grammar?

Hywan avatar Jul 05 '15 12:07 Hywan

Yes, but in math expressions pow synonim is ^. Can you implement this functionality too?

akalongman avatar Jul 07 '15 07:07 akalongman

Yes, sure.

/cc @hoaproject/hoackers that's an easy PR, any volunteers?

Hywan avatar Jul 07 '15 07:07 Hywan

It means adding an alias in https://github.com/hoaproject/Math/blob/7d159567f4ee10de7391f5042dc957fd041f9dec/Visitor/Arithmetic.php#L343 to call pow when ^ is used ?

osaris avatar Jul 12 '15 19:07 osaris

Yes, but format is other, script must parse x^z as pow(x, z)

akalongman avatar Jul 12 '15 19:07 akalongman

Label should not be "in progress" ?

osaris avatar Jul 18 '15 12:07 osaris