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

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


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b5e187ebf3eab376a1e46c0afc28fa91ab6eb3d
      https://github.com/OpenSIPS/opensips/commit/2b5e187ebf3eab376a1e46c0afc28fa91ab6eb3d
  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