Markus Neteler wrote:

> >    printf("%g\n", 0.000100001);
> > =>      0.000100001
> >
> >    printf("%g\n", 0.000099999);
> > =>      9.9999e-05
> >
> > So the default precision should be fine unless you actually get images
> > with intensity values accurate to 1PPM or better.
> 
> Sounds very promising. If you could indicate where to change, I can
> run again my test examples.

To change the format of the signature files, replace %f with %g in
I_write_signatures(), in lib/imagery/sig.c.

To change the format of the report file, replace occurrences of %6.2f
with e.g. %g in the various imagery/i.cluster/print*.c files.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to