PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ out_x3d3_test_precision()

static void out_x3d3_test_precision ( void  )
static

Definition at line 45 of file cu_out_x3d.c.

46 {
47  /* 0 precision, i.e a round */
49  "POINT(1.1111111111111 1.1111111111111 2.11111111111111)",
50  "1 1 2",
51  0, 0);
52 
53  /* 3 digits precision */
55  "POINT(1.1111111111111 1.1111111111111 2.11111111111111)",
56  "1.111 1.111 2.111",
57  3, 0);
58 
59  /* 9 digits precision */
61  "POINT(1.2345678901234 1.2345678901234 4.123456789001)",
62  "1.23456789 1.23456789 4.123456789",
63  9, 0);
64 
65  /* huge data */
66  do_x3d3_test("POINT(1E300 -105E-153 4E300)", "1e+300 -1e-151 4e+300", 0, 0);
67 }
static void do_x3d3_test(char *in, char *out, int precision, int option)
Definition: cu_out_x3d.c:20

References do_x3d3_test().

Referenced by out_x3d_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: