Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Change use of double to json_double_t to mirror json_int_t #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LB--
Copy link
Member

@LB-- LB-- commented Mar 27, 2018

See the modified README.md for details. The use of pow is problematic because powl and <tgmath.h> are not available until C99, so I had to add JSON_POW and JSON_POW_HEADER to let people work around that in C89 and C94 (and MSVC if they choose to compile as C). Alternatively, we could replace pow usage with repeated multiplication - up to you.

I'll create a similar pull request for json-builder if you are willing to go forward with this.

The user may also define JSON_POW and JSON_POW_HEADER so that the correct pow function is used.
LB-- added a commit to LB--/json-builder that referenced this pull request Mar 27, 2018
@LB--
Copy link
Member Author

LB-- commented Aug 7, 2021

After seeing #103 I think my PR here needs further consideration before being merged... I'll have to rebase this work anyway

@LB-- LB-- added this to the v1.2.0 milestone Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant