evaluation path for x^y ?

newbie nullzwei via gnumeric-list <[email protected]> Thu, 30 Jun 2022 09:33:45 +0200
Newsgroups gmane.comp.gnome.apps.gnumeric
Message-ID <trinity-c762720d-d344-4f6d-8ac1-dc749e5850fd-1656574425342@3c-app-gmx-bap11>
--===============5923722084771001686==
Content-Type: text/html; charset=UTF-8

<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>&nbsp;<br/>
hello @all,<br/>
<br/>
for private fun, Calc / Excel compatibility and easier cross-system-testing I&#39;d like to implement evaluation of &#39;= (-8)^(1/3)&#39; -&gt; &#39;-2&#39;.<br/>
<br/>
I managed it for &#39;power&#39; ( by patching goffice and plugins/fn-math/functions, but despite &#39;EXPR_OP_EXP&#39; seems piped through gnm_power it still produces #NUM!.<br/>
<br/>
can anyone describe the code path for &#39;^&#39; or assume where I might be wrong?<br/>
<br/>
TIA for any help.<br/>
<br/>
P.S. I do not want to start a discussion if odd roots from negative are &#39;good&#39;, allowed or mathematical correct ... the web is full of such ...</div></div></body></html>

--===============5923722084771001686==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnumeric-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnumeric-list

--===============5923722084771001686==--