taia.h (517B)
1 #ifndef TAIA_H 2 #define TAIA_H 3 4 #include "tai.h" 5 6 struct taia { 7 struct tai sec; 8 unsigned long nano; /* 0...999999999 */ 9 unsigned long atto; /* 0...999999999 */ 10 } ; 11 12 extern void taia_tai(); 13 14 extern void taia_now(); 15 16 extern double taia_approx(); 17 extern double taia_frac(); 18 19 extern void taia_add(); 20 extern void taia_sub(); 21 extern void taia_half(); 22 extern int taia_less(); 23 24 #define TAIA_PACK 16 25 extern void taia_pack(); 26 extern void taia_unpack(); 27 28 #define TAIA_FMTFRAC 19 29 extern unsigned int taia_fmtfrac(); 30 31 #endif