| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| quad | 25-Oct-2004 09:57 | 23K | ||
| quad.c | 25-Oct-2004 09:57 | 562 | ||
For 10/27...
(1) add check for argc==4
(2) add roots function
return 0 if a==0 (or approx so)
return -1 if disc is negative
return 1 if successful
"returns" roots in (*r1) (*r2)
(3) start adding roots2 function
return 0 if a==0 (or approx so)
return 1 if successful
"returns" roots in (*i1) (*i2) (*r1) (*r2)