fehQlibs 27
Qlibs
Loading...
Searching...
No Matches
tai.h File Reference
#include "uint_t.h"
Include dependency graph for tai.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tai
 

Macros

#define tai_unix(t, u)
 
#define tai_approx(t)
 
#define tai_less(t, u)
 
#define TAI_PACK   8
 

Typedefs

typedef struct tai tai64
 

Functions

void tai_now (struct tai *)
 
void tai_add (struct tai *, const struct tai *, const struct tai *)
 
void tai_sub (struct tai *, const struct tai *, const struct tai *)
 
void tai_pack (char *, const struct tai *)
 
void tai_unpack (const char *, struct tai *)
 
void tai_uint (struct tai *, unsigned int)
 

Macro Definition Documentation

◆ tai_approx

#define tai_approx ( t)
Value:
((double) ((t)->x))

Definition at line 49 of file tai.h.

◆ tai_less

#define tai_less ( t,
u )
Value:
((t)->x < (u)->x)

Definition at line 58 of file tai.h.

◆ TAI_PACK

#define TAI_PACK   8

Definition at line 60 of file tai.h.

◆ tai_unix

#define tai_unix ( t,
u )
Value:
((void) ((t)->x = 4611686018427387914ULL + (uint64) (u)))
unsigned long long uint64
Definition uint_t.h:54

Definition at line 35 of file tai.h.

Typedef Documentation

◆ tai64

typedef struct tai tai64

Function Documentation

◆ tai_add()

void tai_add ( struct tai * t,
const struct tai * u,
const struct tai * v )

Definition at line 11 of file tai.c.

◆ tai_now()

void tai_now ( struct tai * t)

Definition at line 16 of file tai.c.

◆ tai_pack()

void tai_pack ( char * s,
const struct tai * t )

Definition at line 21 of file tai.c.

Here is the caller graph for this function:

◆ tai_sub()

void tai_sub ( struct tai * t,
const struct tai * u,
const struct tai * v )

Definition at line 36 of file tai.c.

◆ tai_uint()

void tai_uint ( struct tai * t,
unsigned int u )

Definition at line 41 of file tai.c.

◆ tai_unpack()

void tai_unpack ( const char * s,
struct tai * t )

Definition at line 46 of file tai.c.