[GRASS-dev] CELL/FCELL/DCELL [was: Re: r.mapcal rand() strangeness]

Glynn Clements glynn at gclements.plus.com
Wed Feb 27 07:58:29 EST 2008


Maciej Sieczka wrote:

> >> Below follow details about CELL and DCELL datatypes in GRASS. It would 
> >> be good to have them summarrised in GRASS raster intro IMHO; + FCELL 
> >> specific notes. I'm not competent - anybody please do.
> 
> > None of this belongs in the GRASS documentation, as it isn't specific
> > to GRASS. Anyone who wants to know the details of how floating point
> > works can look it up in a computing text book or on Wikipedia.
> 
> How does one know which datatype described on Wikipedia is GRASS CELL, 
> FCELL and DCELL?

Oh, it's reasonable enough to document that (if it isn't already):

	CELL	32-bit signed integer
	FCELL	IEEE single-precision floating-point
	DCELL	IEEE double-precision floating-point

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list