Algebrite icon indicating copy to clipboard operation
Algebrite copied to clipboard

0^0 should be undefined, not 1

Open derivitaandrew opened this issue 4 years ago • 2 comments

0^0 is an indeterminate form, so it should throw an error. Instead, it returns 1.

derivitaandrew avatar Aug 18 '20 03:08 derivitaandrew

I disagree. There are some references here as to why 1 is a good (pragmatic) choice https://www.geogebra.org/m/rmcxa9un

murkle avatar Aug 18 '20 07:08 murkle

the tests follow @murkle's view, see power.coffee :

    "(0.0)^(0.0)",
    "1.0",

davidedc avatar Mar 28 '21 22:03 davidedc