FACT++  1.0
static void t_afin ( int *  status)
static

Definition at line 207 of file palTest.c.

References i, PAL__DPI, palDafin(), viv(), and vvd().

Referenced by main().

207  {
208 
209  int j;
210  int i = 1;
211  double d = 0.0;
212  const char * s = "12 34 56.7 |";
213  const char * s2 = "45 00 00.000 ";
214 
215  palDafin (s, &i, &d, &j);
216  viv ( i, 12, "palDafin", "I", status );
217  vvd ( d, 0.2196045986911432, 1e-12, "palDafin", "A",
218  status );
219  viv ( j, 0, "palDafin", "J", status );
220 
221  i = 1;
222  palDafin (s2, &i, &d, &j);
223  viv ( i, 14, "palDafin", "I", status );
224  vvd ( d, PAL__DPI/4.0, 1e-12, "palDafin", "A",
225  status );
226  viv ( j, 0, "palDafin", "J", status );
227 }
int i
Definition: db_dim_client.c:21
static const double PAL__DPI
Definition: palmac.h:63
static void viv(int ival, int ivalok, const char *func, const char *test, int *status)
Definition: palTest.c:65
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99
void palDafin(const char *string, int *iptr, double *a, int *j)
Definition: palDafin.c:132

+ Here is the call graph for this function:

+ Here is the caller graph for this function: