-1
I created a polynomial class, among the member functions present in my class is the root resolution function. If the degree of the polynomial is 2, I use baskhara for resolution. But I realized that if the root is unique and 0 one of them is 0 and the other - 0. I’ve done this function several times and this is the first time I see something like.
You have to put the code in the question, otherwise we can only try to guess what you actually did.
– Isac