diff options
-rw-r--r-- | lib/fonctions.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/fonctions.c b/lib/fonctions.c index 2ef2871..cb779c1 100644 --- a/lib/fonctions.c +++ b/lib/fonctions.c @@ -91,9 +91,14 @@ void deriv(polynome p1, polynome p2, polynome p3) void derivn(polynome p1, polynome p2, polynome p3) { + polynome temp, temp2; int i; - + if (p1) + if ((p1->degre==0) && (p1->coef.num>0) && (p1->coef.denom==1)) + push_pile_poly(p2); + for(i=0; i<p1->coef.num; i++) + deriv } void integ(polynome p1, polynome p2, polynome p3) |