#30499·sympy

`function_range(sin(exp(x)), x, S.Reals)` hangs

Author: 11350613Created Sep 13, 2026Updated Sep 15, 2026

sympy commit hash: d9a9cd995650088a237d13e459b10f5da9cfa928 (current master) python version: 3.12.3 OS: Ubuntu 24.04.4 LTS

python
In [1]: from sympy.calculus.util import function_range

In [2]: function_range(sin(exp(x)), x, S.Reals)

hangs.

expected result:

python
Interval(-1, 1)