From: Werner S. <sm...@ia...> - 2009-08-28 06:22:34
|
Hi Alan, > > These warnings are evidence of more floating-point comparison issues > that > ocurred in plspal1 which I should have spotted when I fixed a > similar issue > that Valery Pipin found for cmap1_default.cmap. > > I believe I have now solved all these plspal1 floating-point > comparison > issues completely using a macro for the needed and oft-used programme > fragment to deal with such issues (revision 10353). Also, I have > made a > much better fallback (gray scale rather than segfault) when the > requested > cmap1 palette file is completely wrong. Could you try again, please, > to see > if the above warnings are gone? No, colors changed, but I still get warnings, and the colors are also still wrong: *** PLPLOT WARNING *** Unrecognized cmap1 format 0.0 1.0 1.0 1.0 1.0 0 *** PLPLOT WARNING *** Unrecognized cmap1 format 0. 240. 0.5 1.0 1. 0 *** PLPLOT WARNING *** Unrecognized cmap1 format 0.0 0.0 0.0 0.0 1.0 0 I attached a zip file with the output of the pdfqt driver so you can see, what I'm talking about. > > Out of curiosity, what hardware were you using when you ran into the > above > warnings? I suspect it wasn't Intel/AMD. (That hardware uses 80-bit > rather > than 64-bit registers to store intermediate floating-point results. > That > leads to higher than normal floating-point precision and fewer > floating-point comparison issues. The downside is that if you test > exclusively on Intel/AMD, you may not notice the effects of > problematic code > which is subject to floating-point comparison issues.) No, it's an Intel Core 2 Duo. Running Mac OS X 10.5.7. Regards, Werner > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting > software > package (plplot.org); the libLASi project (unifont.org/lasi); the > Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |