sol1 = (-b + sqrt( (float)pow(b,2) - 4 * a *c) ) / 2 * a;
sol2 = (-b - sqrt( (float)pow(b,2) - 4 * a *c) ) / 2 * a;
აი ეს მინდა ზუსტად რომ დავწერო NSNumber-ებით და რას ვაკეთებ არასწორად?
NSNumber * x1 = [NSNumber numberWithFloat:-[bB floatValue] + sqrt(pow([bB floatValue], 2) - 4 * [aA floatValue] * [cC floatValue]) / 2 * [aA floatValue]];
NSNumber * x2 = [NSNumber numberWithFloat:-[bB floatValue] - sqrt(pow([bB floatValue], 2) - 4 * [aA floatValue] * [cC floatValue]) / 2 * [aA floatValue]];