Astro-Nova
view release on metacpan or search on metacpan
libnova-0.15.0/configure view on Meta::CPAN
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
#ifndef __cplusplus
/* Ultrix mips cc rejects this sort of thing. */
typedef int charset[2];
const charset cs = { 0, 0 };
/* SunOS 4.1.1 cc rejects this. */
char const *const *pcpcc;
char **ppc;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in
an arm of an if-expression whose if-part is not a constant
expression */
libnova-0.15.0/src/utility.c view on Meta::CPAN
* \param s Location string
* \return angle in degrees
*
* Obtains Latitude, Longitude, RA or Declination from a string.
*
* If the last char is N/S doesn't accept more than 90 degrees.
* If it is E/W doesn't accept more than 180 degrees.
* If they are hours don't accept more than 24:00
*
* Any position can be expressed as follows:
* (please use a 8 bits charset if you want
* to view the degrees separator char '0xba')
*
* 42.30.35,53
* 90º0'0,01 W
* 42º30'35.53 N
* 42º30'35.53S
* 42º30'N
* - 42.30.35.53
* 42:30:35.53 S
* + 42.30.35.53
( run in 0.545 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )