ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/zeroes.c
(Generate patch)

Comparing ray/src/common/zeroes.c (file contents):
Revision 2.1 by greg, Tue Nov 12 17:08:54 1991 UTC vs.
Revision 2.2 by greg, Fri Oct 2 16:21:08 1992 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10   *     8/19/85
11   */
12  
13 #define  FTINY          1e-7
13  
14 + #include  <math.h>
15  
16 + #include  "fvect.h"
17 +
18 +
19   int
20   quadratic(r, a, b, c)           /* find real roots of quadratic equation */
21   double  *r;                     /* roots in ascending order */
22   double  a, b, c;
23   {
21        double  fabs(), sqrt();
24          double  disc;
25          int  first;
26  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines