Searched refs:rounder (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dprintf.c226 double rounder; /* Used for rounding floating point values */ local
406 rounder = 0.0;
409 for(idx=precision, rounder=0.4999; idx>0; idx--, rounder*=0.1);
412 for(idx=precision, rounder=0.5; idx>0; idx--, rounder*=0.1);
414 if( infop->type==etFLOAT ) realvalue += rounder;
435 realvalue += rounder;

Completed in 46 milliseconds