On Fri, Jan 16, 2009 at 07:25:03PM +0100, Arjen Markus wrote: > > > > > All that is going to take time, and we are only two days away from our > > release on Sunday. Arjen, if you can quickly figure out the best > > implementation and get a commit done in the next few hours (or by early > > Saturday (your time zone) at the latest), then that would give the rest of > > us a chance to test your changes before the Sunday release. Otherwise I > > think you should wait to deal with this issue post-release, and simply > > state > > in README.release that the Tcl examples give identical results to the C > > examples for Tcl-8.5, but there is a precision issue we hope to deal with > > before the next release for Tcl-8.4. > > > > Hi Alan, > > I built PLplot with Tcl 8.4.12 but to my astonishment I am not > getting _any_ differences anymore - examples 3, 11, 15, 16, 20 all > give perfect matches. > > The easiest way to see if tcl_precision will make a difference on > other platforms is to add the following line in the file pltcl.c, > just before the return of AppInit(): > > Tcl_SetVar( interp, "tcl_precision", "17", TCL_GLOBAL_ONLY); > > this way you set the value from the start and only need to change > a single file. (Alternatively you would have to add "set tcl_precision 17" > to all files x01, x02, ...) > > What a timing for a Heisenbug or one of its cousins!
Well I've reverted to tcl 8.4. With standard svn tcl Missing examples : Differing postscript output : 03 14a 17 21 Missing stdout : Differing stdout : 21 With Arjen's "fix" I get tcl Missing examples : Differing postscript output : 21 Missing stdout : Differing stdout : 21 Looks promising to me. Arjen, is there anything to lose by adding this in by default to pltcl.c? We could do this just for the version < 8.5 case if that is possible. Andrew ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel