HOPS
HOPS class reference
other.h
Go to the documentation of this file.
1 #ifndef __OTHER_H__
2 #define __OTHER_H__
3 
4 #ifndef NELEMENTS
5 #define NELEMENTS(array) /* number of elements in an array */ \
6  (sizeof (array) / sizeof ((array) [0]))
7 #endif
8 
9 char *mjd2str(long, char *);
10 int mjd2dayno(long, int *);
11 int mjd2date(long, int*, int*, int*);
12 int rad2hms(double, char *);
13 int rad2dms(double, char *);
14 #endif
int mjd2date(long, int *, int *, int *)
Definition: other.c:89
char * mjd2str(long, char *)
Definition: other.c:18
int mjd2dayno(long, int *)
Definition: other.c:52
int rad2dms(double, char *)
Definition: other.c:165
int rad2hms(double, char *)
Definition: other.c:192