[GRASS-dev] Unlimited precision

Glynn Clements glynn at gclements.plus.com
Sun Oct 21 18:28:06 EDT 2007

Francesco P. Lovergine wrote:

> http://www.nabble.com/ISO-C90-does-not-support-%60long-long%27-tf1038737.html#a2698581
> About long long issue and other possible extension, I would promote the
> use of GMP extended precision library, which is LGPL and largely used.

GMP is complete overkill for counters. Any value which would ever make
sense there will easily fit into 64 bits.

> For instance it would be a nice solution for issues like:
> http://wald.intevation.org/tracker/?func=detail&aid=493&group_id=21&atid=204
> and indeed long long is already used in the code as you can see grepping
> around.

I see precisely two cases: the dglInt64_t which has already been
spotted (but not fixed yet), and g.region (which I'll fix in a
moment, so it's essentially one case).

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list