Opened 3 years ago

Last modified 5 months ago

#24428 needs_work defect

Substitution should be the same as numerical evaluation — at Version 1

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-8.2
Component: symbolics Keywords:
Cc: rws, slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

It is very surprising that these do not give the same result:

sage: arccosh(0.9)
NaN

and

sage: arccosh(x).subs(x=0.9)
0.451026811796262*I

The second result is more useful, so the first should probably return a complex number too.

Change History (1)

comment:1 Changed 3 years ago by jdemeyer

  • Description modified (diff)
Note: See TracTickets for help on using tickets.