aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCharles Karney <charles.karney@sri.com>2017-08-06 11:29:18 -0400
committerCharles Karney <charles.karney@sri.com>2017-08-06 11:29:18 -0400
commit5a0ef580bf85bc0cd4cf3b3bd7780c6e117844d5 (patch)
treec054f4865877dae3422cf63d3370b52872ce571b /docs
parent2d46accd49209e0b6c7c40626c1498a46399163d (diff)
downloadPROJ-5a0ef580bf85bc0cd4cf3b3bd7780c6e117844d5.tar.gz
PROJ-5a0ef580bf85bc0cd4cf3b3bd7780c6e117844d5.zip
Add tests for C99 math functions, hypot, atanh, cbrt, etc.
This tests whether the functions are declared in <math.h>. If they are, then -DHAVE_C99_MATH=1 is added to the C flags. The intention is that this flag is only seen when building proj.4 and shouldn't be referenced in any of the installed include files. The next update to geodesic.c will use this flag. Left unaddressed is what to do if HAVE_C99_MATH is 0. The strategy in geodesic.c is to assume that the missing functions will need to be defined explicitly. A less safe alternative is to assume that the functions are in fact available in libm and that all that needs to be done is to declare the functions.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions