Skip to content

doctest fix for: substitute exp(-x) with x infinity fails #19918

@videlec

Description

@videlec
sage: exp(-Infinity)
0

is fine, but

sage: exp(-x).subs(x=Infinity)
Traceback (most recent call last):
...
RuntimeError: exp_eval(): exp^(unsigned_infinity) encountered 

Original report thread:

https://groups.google.com/forum/#!topic/sage-devel/tqDSbZ499ME

Depends on #19948

CC: @rwst

Component: symbolics

Keywords: bug

Author: Benjamin Hackl

Branch/Commit: 45420f5

Reviewer: Ralf Stephan

Issue created by migration from https://trac.sagemath.org/ticket/19918

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions