[GRASS5] Zoom

Bernhard Reiter bernhard at intevation.de
Wed Apr 24 13:00:52 EDT 2002


On Wed, Apr 24, 2002 at 05:37:51PM +0200, Radim Blazek wrote:
> while finishing d.zoom, I'am facing this problem:

> n-s resol:  0.1
> 
> G_get_window(&window);
> fprintf(stderr, "%.15f\n", window.ns_res);
> 
> prints:
> 0.099999999627471
> 
> I expected 0.1. Can anyone help me, explain that?

Maybe that is normal floating point representation....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20020424/6d194bcd/attachment.bin


More information about the grass-dev mailing list