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

Definition at line 1455 of file palTest.c.

References palPcd(), palUnpcd(), and vvd().

Referenced by main().

1455  {
1456  double disco, x, y;
1457  disco = 178.585;
1458  x = 0.0123;
1459  y = -0.00987;
1460 
1461  palPcd ( disco, &x, &y );
1462  vvd ( x, 0.01284630845735895, 1e-14, "palPcd", "x", status );
1463  vvd ( y, -0.01030837922553926, 1e-14, "palPcd", "y", status );
1464 
1465  palUnpcd ( disco, &x, &y );
1466  vvd ( x, 0.0123, 1e-14, "palUnpcd", "x", status );
1467  vvd ( y, -0.00987, 1e-14, "palUnpcd", "y,", status );
1468 
1469  /* Now negative disco round trip */
1470  disco = -0.3333333;
1471  x = 0.0123;
1472  y = -0.00987;
1473  palPcd ( disco, &x, &y );
1474  palUnpcd ( disco, &x, &y );
1475  vvd ( x, 0.0123, 1e-14, "palUnpcd", "x", status );
1476  vvd ( y, -0.00987, 1e-14, "palUnpcd", "y,", status );
1477 }
void palUnpcd(double disco, double *x, double *y)
Definition: palUnpcd.c:119
void palPcd(double disco, double *x, double *y)
Definition: palPcd.c:98
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99

+ Here is the call graph for this function:

+ Here is the caller graph for this function: