On Sun, 28 Jun 2009 17:28:12 -0300 Golam Mortuza Hossain <gmhoss...@gmail.com> wrote:
> > Hi, > > Are the following evaluations in new symbolics expected > by design (or a bug)? > > Case A: > ----------- > sage: sin(1.57); f = sin; f(1.57) > 0:999999682931835 > 0:999999682931835 > ----------- > > Case B: > ----------- > sin(1.57); f(x) = sin(x); f(1.57) > 0.999999682931835 > sin(1.57000000000000) > --------- > > For some reasons, sin(1.57) does not get evaluated in case B. > > This is in contrast to sage 3.4 where both cases result numerical > evaluation of sin(1.57). It is a bug in pynac I fixed last week at SD 16, as a part of the effort to refactor symbolic functions. I will try to clean this up, and submit it along with a few other fixes to pynac this week. Thanks. Burcin --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---