PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ analyze_val()

static void analyze_val ( struct geobuf_agg_context ctx,
double  val 
)
static

Definition at line 455 of file geobuf.c.

456{
457 if (fabs((round(val * ctx->e) / ctx->e) - val) >= EPSILON &&
458 ctx->e < MAX_PRECISION)
459 ctx->e *= 10;
460}
#define MAX_PRECISION
Definition geobuf.c:32

References geobuf_agg_context::e, and MAX_PRECISION.

Referenced by analyze_pa().

Here is the caller graph for this function: