tai.h (311B)
1 #ifndef TAI_H 2 #define TAI_H 3 4 #include "uint64.h" 5 6 struct tai { 7 uint64 x; 8 } ; 9 10 extern void tai_now(); 11 12 #define tai_approx(t) ((double) ((t)->x)) 13 14 extern void tai_add(); 15 extern void tai_sub(); 16 #define tai_less(t,u) ((t)->x < (u)->x) 17 18 #define TAI_PACK 8 19 extern void tai_pack(); 20 extern void tai_unpack(); 21 22 #endif