|
From: Stavros M. <mac...@us...> - 2025-12-08 17:20:39
|
I can't seem to reproduce that error in Maxima 5.48.1 SBCL 2.5.7.
~~~
map('nfloat,
[1,1.0,1.0b0,2/3,x,1.0*x,1.0b0*x,2/3*x,
x/y,2*x/y,2/3*x/y,1.0*x/y,1.0b0*x/y,
%i*x,%i*1.0*x,%i*1.0b0*x,%i*2/3*x,
%i*x/y,%i*2*x/y,%i*2/3*x/y,%i*1.0*x/y,%i*1.0b0*x/y,
1+%i*x,1+%i*1.0*x,1+%i*1.0b0*x,1+%i*2/3*x,1+%i*x/y,
1+%i*2*x/y,1+%i*2/3*x/y,1+%i*1.0*x/y,1+%i*1.0b0*x/y])
=> no errors
~~~
Maybe a bug has been introduced into `nfloat` recently?
Of course, it's hard to know what's a bug and what isn't because `nfloat` isn't documented!
---
**[bugs:#4644] bfloat((x+1)/x includes unnecessary 1.0b0 factor**
**Status:** open
**Group:** None
**Labels:** bfloat nfloat
**Created:** Wed Dec 03, 2025 07:15 PM UTC by Stavros Macrakis
**Last Updated:** Mon Dec 08, 2025 05:17 PM UTC
**Owner:** nobody
~~~
bfloat((x+2)/x) => (1.0b0*(x+2.0b0))/x
~~~
What is the ``1.0b0`` factor doing there?
Set as priority 1 (which I hope means lowest, not highest) because this probably isn't doing any harm.
---
Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |