Answer

问题及解答

[Bug] 多项式乘法中的错误

Posted by haifeng on 2023-02-10 07:56:28 last update 2024-03-31 10:50:49 | Edit | Answers (0)

>> :mode=polyn
Switch into polynomial mode.

 

>> 51*(302+8x)+24*(-604-17x)
in> 51*(302+8x)+24*(-604-17x)

out> -14088*x^1 is NOT a polynomial of x

 

>> 51*(8x+302)+24*(-17x-604)
in> 51*(8x+302)+24*(-17x-604)

out> 906

------------------------

 

>> 8x+302-17x-604
in> 8x+302-17x-604

out> 8x+302-17x-604

------------------------


>> 1*(8x+302-17x-604)
in> 1*(8x+302-17x-604)

out> 293x^1-604

------------------------


已经修复.  

Date: 2023-02-11


v0.576

Date: 2023-10-08

>> :mode polyn
Switch into polynomial mode.

>>  51*(302+8x)+24*(-604-17x)
in> 51*(302+8x)+24*(-604-17x)

out> 0|1x^1+906|1
------------------------


还是有问题

>> :mode polyn
Switch into polynomial mode.

>> -1*(8x+302-17x-604)
in> -1*(8x+302-17x-604)

out> -9x^1-302
------------------------


>> -8x
in> -8x

out>

已经在 ver0.592中解决

>> :mode polyn
Switch into polynomial mode.

>> -8x
in> -8x

out> -8x^1
------------------------


>> -1*(x-2)
in> -1*(x-2)

out> -1x^1+2
------------------------


>> -1*(8x+302-17x-604)
in> -1*(8x+302-17x-604)

out> 9x^1+302
------------------------