Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Terry L. Ridder <terrylr@edgar.blauedonau.com>
Subject: POV version 3.01 explained ( was Re: Request for Jim ( was Re: POVray success!!))
Date: Tue, 8 Apr 1997 22:03:20 -0500 (CDT)	[thread overview]
Message-ID: <a54a2adcf505eef4f05f456bee726862.axp-list@archive.invalid> (raw)
In-Reply-To: <9704071934.AA17042@halfpint.rtp.avanticorp.com>

Please forgive typo's and missing capital letters.
A one handed programmer is about as good as a one handed pianist. ;-)

First off let me again thank Jim for helping in this debugging effort.

On Mon, 7 Apr 1997, Jim Nance wrote:

> OK,
>     I got the 3.01 POV source and compiled and ran.  I encounterd the SIGFPE
> that I posted about earlier, and fixed it by changing line 328 of super.c
> like this:
> 
> -      if (v0 * v1 < 0.0)
> +      if ((v0>0 && v1<0) || (v0<0 && v1>0))
> 
> I think that will be faster anyway.
> 
> It now runs fine and the rendered image looks good too.  I assume that this
> runs on the other platforms because v0*v1 will generate INF or NaN while it
> generates an FPE on the alpha.  There is a compiler switch to control this:

That is what I thought originally too. After debugging the code on both
the Alpha and an Intel box, the Alpha version has vastly different values
for v0 and v1 than the Intel version. Same source code.

Running POV version 3.00b on both platforms yields similiar results, and
does work on both platforms. 

Jim's fix above does work, but I think that we are fixing the symptom and not
the cause. 

I am waiting for the patch files from the POV team member and then will continue to
narrow down where the problem is.
> 
<snip>
> 
> Thanks,
> 
> Jim
> 

Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."

"And every hour of every day I'm learning more
the more I learn, the less I know about before
the less I know, the more I want to look around
digging deep for clues on higher ground."
==Higher Ground== UB40

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

      reply	other threads:[~1997-04-09  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.91.970404060422.7061A-100000@edgar.blauedonau.com>
1997-04-07 19:34 ` Request for Jim ( was Re: POVray success!!) Jim Nance
1997-04-09  3:03   ` Terry L. Ridder [this message]
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