Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: Re: POVRAY FPE's
Date: Fri, 10 Jul 1998 06:53:55 +0000	[thread overview]
Message-ID: <35A5BA83.AB22E487@paralleldata.com> (raw)

OK,

For grins I downloaded the povray source RPM from RH's 
contrib directory and built it on my PC164LX, without
-mieee to see what it's problem is. It has two bugs
where stack variables get used but were never set under
certain conditions and one plain logic bug. Bugs are:

bcyl.c:


    415     switch (intersect_thick_cylinder(BCyl, Entry, dist))
    416     {
    417 /* wsb 0 is bad news here */
    418         case 0:
    419          break;
    420
    421       case 2:
    422
    423         if (dist[0] > EPSILON)


hfield.c:

   2102
   2103 /* wsb use abs() cause dx is 0.0 and maxdv is a divisor later */
   2104   maxdv = (fabs(dx) > fabs(dz)) ? dx : dz;
   2105
   2106   /* First test for 'perpendicular' rays. */


sor.c:

    569   VECTOR N;
    570
    571 /* wsb N doesn't get initialized and can't be zeros */
    572       Make_Vector(N, 1.0e-10,1.0e-10,1.0e-10);
    573
    574   switch (Inter->i1)

The lathdem*.pov demos look bad for all but one output but it
looks like it matches what my PII does so seems what I did
was plausible.

Note these are just plain coding errors. There is nothing
wrong with the Alpha.


Wes


                 reply	other threads:[~1998-07-10  6:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox