1.0^x raises ValueError: power::eval(): division by zero

69 views
Skip to first unread message

Peter Mueller

unread,
Nov 24, 2024, 7:34:37 AM11/24/24
to sage-support
var('x'); 1.1^x
works fine, but
1.0^x
raises a 
ValueError: power::eval(): division by zero
(also in the SageCell).

Is this intended behavior?

--Peter Mueller

Eric Gourgoulhon

unread,
Nov 25, 2024, 4:38:51 AM11/25/24
to sage-support
This is certainly not the intended behavior. Thanks for the report!
The error boils down to

sage: SR(1.0)^x
...
ValueError: power::eval(): division by zero

Eric.

Peter Mueller

unread,
Nov 25, 2024, 4:52:39 AM11/25/24
to sage-support
I'm not familiar with the developing process. So I guess someone (maybe you?) should open a ticket? Or I could try to fill the "Issue: Bug Report" form on the github page if that's the right thing to do.

-- Peter Mueller

Dima Pasechnik

unread,
Nov 25, 2024, 9:35:56 AM11/25/24
to sage-s...@googlegroups.com
Opening an issue on GitHub will help.
It shouldn't be harder than posting here.

Peter Mueller

unread,
Nov 25, 2024, 11:46:15 AM11/25/24
to sage-support
OK, it's https://github.com/sagemath/sage/issues/39035 now.

-- Peter Mueller

Reply all
Reply to author
Forward
0 new messages