Skip to content

Change use of double to json_double_t to mirror json_int_t - #69

Open
LB-- wants to merge 1 commit into
json-parser:masterfrom
LB--:json_double_t
Open

LB-- wants to merge 1 commit into
json-parser:masterfrom
LB--:json_double_t

Conversation

@LB--

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

Copy link
Copy Markdown
Member

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--

LB-- commented Aug 7, 2021 •

Copy link
Copy Markdown
Member Author

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