HOPS
HOPS class reference
Macros | Functions
cnvrt_cdf_maia.c File Reference
#include <stdio.h>
#include <string.h>

Macros

#define IFMT   "%d%d%d%lf%lf%lf"
 
#define OFMT1   " %4d %3s %2d =JD %7.1lf TAI-UTC=%12.7lf S + (MJD - %#6.0lf) X %8.6lf S\n"
 
#define OFMT2   " %4d %3s %2d =JD %7.1lf TAI-UTC=%12.7lf S + (MJD - %#6.0lf) X %9.7lfS\n"
 
#define OFMT3   " %4d %3s %2d =JD %7.1lf TAI-UTC= %-10.1lf S + (MJD - %#5.0lf) X %-9.1lfS\n"
 

Functions

int convert (char *in, char *ou)
 
double hack_jd (int year, int imon, int dom)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ IFMT

#define IFMT   "%d%d%d%lf%lf%lf"

◆ OFMT1

#define OFMT1   " %4d %3s %2d =JD %7.1lf TAI-UTC=%12.7lf S + (MJD - %#6.0lf) X %8.6lf S\n"

◆ OFMT2

#define OFMT2   " %4d %3s %2d =JD %7.1lf TAI-UTC=%12.7lf S + (MJD - %#6.0lf) X %9.7lfS\n"

◆ OFMT3

#define OFMT3   " %4d %3s %2d =JD %7.1lf TAI-UTC= %-10.1lf S + (MJD - %#5.0lf) X %-9.1lfS\n"

Function Documentation

◆ convert()

int convert ( char *  in,
char *  ou 
)

◆ hack_jd()

double hack_jd ( int  year,
int  imon,
int  dom 
)

◆ main()

int main ( int  argc,
char **  argv 
)