LAL  7.5.0.1-b72065a
XLALTime.c File Reference

Prototypes

INT8 XLALGPSToINT8NS (const LIGOTimeGPS *epoch)
 Converts GPS time to nano seconds stored as an INT8. More...
 
LIGOTimeGPSXLALINT8NSToGPS (LIGOTimeGPS *epoch, INT8 ns)
 Converts nano seconds stored as an INT8 to GPS time. More...
 
LIGOTimeGPSXLALGPSSet (LIGOTimeGPS *epoch, INT4 gpssec, INT8 gpsnan)
 Sets GPS time given GPS integer seconds and residual nanoseconds. More...
 
LIGOTimeGPSXLALGPSSetREAL8 (LIGOTimeGPS *epoch, REAL8 t)
 Sets GPS time given GPS seconds as a REAL8. More...
 
REAL8 XLALGPSGetREAL8 (const LIGOTimeGPS *epoch)
 Returns the GPS time as a REAL8. More...
 
REAL8 XLALGPSModf (REAL8 *iptr, const LIGOTimeGPS *epoch)
 Breaks the GPS time into REAL8 integral and fractional parts, each of which has the same sign as the epoch. More...
 
LIGOTimeGPSXLALGPSAddGPS (LIGOTimeGPS *epoch, const LIGOTimeGPS *dt)
 Adds two GPS times. More...
 
LIGOTimeGPSXLALGPSAdd (LIGOTimeGPS *epoch, REAL8 dt)
 Adds a double to a GPS time. More...
 
LIGOTimeGPSXLALGPSSubGPS (LIGOTimeGPS *t1, const LIGOTimeGPS *t0)
 Difference between two GPS times. More...
 
REAL8 XLALGPSDiff (const LIGOTimeGPS *t1, const LIGOTimeGPS *t0)
 Difference between two GPS times as double. More...
 
int XLALGPSCmp (const LIGOTimeGPS *t0, const LIGOTimeGPS *t1)
 Compares two GPS times. More...
 
static void split_double (double x, double *hi, double *lo)
 
LIGOTimeGPSXLALGPSMultiply (LIGOTimeGPS *gps, REAL8 x)
 Multiply a GPS time by a number. More...
 
LIGOTimeGPSXLALGPSDivide (LIGOTimeGPS *gps, REAL8 x)
 Divide a GPS time by a number. More...
 

Go to the source code of this file.