Liviu, My preference would be to default to 8, but make it defined in the header file for those who want to recompile it. 6 is ok, it’s usually the minimum precision that is acceptable.
Thanks!! On Tue, Mar 10, 2020 at 12:19 PM Liviu Chircu <li...@opensips.org> wrote: > On 10.03.2020 19:07, Calvin Ellison wrote: > > However, when printed it appears as "0.001900". If that his how thing > > string would be passed to mathops, etc., it would cause problems for > > anyone interested in significant digits. > > Indeed, the "%lf" format specified in C truncates double numbers down to > 6 decimal places. > Shall I force it to always print 8 decimals before I push the patch > upstream? Or maybe 10? > What value do you consider to be solid enough here for a default? Many > thanks! > > -- > Liviu Chircu > www.twitter.com/liviuchircu | www.opensips-solutions.com >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users