POV-Ray : Newsgroups : povray.programming : mixing POV code with C++ : Re: POV source errors Server Time
29 Jul 2024 06:15:37 EDT (-0400)
  Re: POV source errors  
From: Thorsten Froehlich
Date: 12 Feb 1999 16:13:04
Message: <36c49960.0@news.povray.org>
In article <36c429f4.0@news.povray.org> , par### [at] my-dejanewscom (Ron 
Parker) wrote:

> You only get 710? :)  Most of them are precision warnings, which are really
> kind of a nitpicky kind of warning anyway.  I've always just ignored them,
> until I can find the time to sit down and fix every single one, or someone
> else can.  There's definitely a lot of float->double->float conversions going
> on in various places, but fixing them would be quite a chore.

Ron, it is nearly useless to try to remove this because it all is a result
of the macro DBL. If a platform defines it to float you get different
problems. If you add explicit type casts it will even be dangerous for other
platforms: You force the compiler to convert the type and if the platform
does not support native double precision floating point values, it will
rsult in much slower execution.


     Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: Tho### [at] csicom

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://www.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.