Bug #930
Printing TwinFloat as (rational) coeff without brackets
Description
A polynomial with TwinFloat coeffs does not put the coeffs in brackets.
RR := NewRingTwinFloat(32); use RR[x]; x/3; --> 1/3*x instead of (1/3)*x
Related issues
History
#1 Updated by John Abbott over 7 years ago
Since we have decided that expressions of the form 1/3*x
deserve a warning on input, and since with genuine rational coeffs the printing puts brackets around the coeff, it should do so also with twinfloats which are recognized as rationals.
I expect the function IamPrintAtom
needs to be modified...
Should be easy, but not so important ==> low priority.
#2 Updated by John Abbott about 6 years ago
- Related to Design #1156: Printing for RingElem added