Open
Description
Steps To Reproduce
No response
Expected Behavior
Logarithms with a base of 0 do not exist, so trying to calculate one should raise a ValueError
.
Actual Behavior
Sagemath seems to think that logarithms with a base of 0 are equal to 0:
sage: log(2, 0)
0
sage: log(2.0, 0)
-0.000000000000000
sage: log(x, 0)
0
Additional Information
No response
Environment
- OS: MacOS 14.6.1
- Sage Version: 10.5.b9
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide