Question: A gamma puzzle awaiting an explanation

Maple's gamma constant appears to misbehave.



`Maple 2020.1, X86 64 LINUX, Jul 30 2020, Build ID 1482634`

evalf(gamma);     # this one is expected


evalf(gamma(0));  # this one may be explained


evalf(gamma(1));  # how to explain this one?


Things get more puzzling.  Let's declare gamma as local:

local gamma:

Warning, A new binding for the name `gamma` has been created. The global instance of this name is still accessible using the :- prefix, :-`gamma`.  See ?protect for details.

evalf(gamma);     # this is good


evalf(gamma(0));  # expected an unevaluated gamma(0) here!


evalf(gamma(1));  # expected an unevaluated gamma(1) here!





Please Wait...