[OpenSIPS-Devel] [OpenSIPS/opensips] 9e7d1f: cJSON library: Improve precision for myfloor()

Liviu Chircu noreply at github.com
Wed Jan 22 09:52:41 EST 2020


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9e7d1f143e1c8575639c66449f8d9d2a3c3beacc
      https://github.com/OpenSIPS/opensips/commit/9e7d1f143e1c8575639c66449f8d9d2a3c3beacc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M lib/cJSON.c

  Log Message:
  -----------
  cJSON library: Improve precision for myfloor()

Fixes a bug where large MI tree integers would get printed as:
    {
      "shmem:total_size": 2.147484e+09,
      ...
    }

... due to lack of precision.

(cherry picked from commit abbb728f6b52bb3dd633ab3644709badf80986fe)





More information about the Devel mailing list