[GRASS-dev] Unlimited precision

Brad Douglas rez at touchofmadness.com
Sun Oct 21 18:23:44 EDT 2007


On Sun, 2007-10-21 at 23:05 +0200, 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.
> 
> 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 just committed a compiler test for 'long long' to configure.

It defines HAVE_LONG_LONG macro (in include/config.h) so offending code
can be segregated.

Affected code:
- r.info
- r.terraflow
- g.region
- lib/vector/dglib/type.h


-- 
73, de Brad KB8UYR/6 <rez touchofmadness com>




More information about the grass-dev mailing list