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

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


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





More information about the Devel mailing list