LALApps 10.1.0.1-eeff03c
gpstime.c File Reference

Prototypes

INT8 epoch_to_ns (LIGOTimeGPS *epoch)
 
LIGOTimeGPSns_to_epoch (LIGOTimeGPS *epoch, INT8 ns)
 
INT8 sec_to_ns (REAL8 sec)
 
REAL8 ns_to_sec (INT8 ns)
 

Go to the source code of this file.

Macros

#define I8_SEC_NS   LAL_INT8_C(1000000000)
 
#define D_SEC_NS   (1e9)
 
#define D_NS_SEC   (1e-9)
 

Macro Definition Documentation

◆ I8_SEC_NS

#define I8_SEC_NS   LAL_INT8_C(1000000000)

Definition at line 28 of file gpstime.c.

◆ D_SEC_NS

#define D_SEC_NS   (1e9)

Definition at line 31 of file gpstime.c.

◆ D_NS_SEC

#define D_NS_SEC   (1e-9)

Definition at line 34 of file gpstime.c.

Function Documentation

◆ epoch_to_ns()

INT8 epoch_to_ns ( LIGOTimeGPS epoch)

Definition at line 38 of file gpstime.c.

◆ ns_to_epoch()

LIGOTimeGPS * ns_to_epoch ( LIGOTimeGPS epoch,
INT8  ns 
)

Definition at line 48 of file gpstime.c.

◆ sec_to_ns()

INT8 sec_to_ns ( REAL8  sec)

Definition at line 57 of file gpstime.c.

◆ ns_to_sec()

REAL8 ns_to_sec ( INT8  ns)

Definition at line 66 of file gpstime.c.