Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
1be3935e
Unverified
Commit
1be3935e
authored
Jan 27, 2018
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
cleanup after #936
parent
7aace7c9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletion
+2
-1
README.md
README.md
+1
-0
avatars.png
doc/avatars.png
+0
-0
json.hpp
src/json.hpp
+1
-1
No files found.
README.md
View file @
1be3935e
...
@@ -934,6 +934,7 @@ I deeply appreciate the help of the following people.
...
@@ -934,6 +934,7 @@ I deeply appreciate the help of the following people.
- [Eren Okka](https://github.com/erengy) fixed some MSVC warnings.
- [Eren Okka](https://github.com/erengy) fixed some MSVC warnings.
- [abolz](https://github.com/abolz) integrated the Grisu2 algorithm for proper floating-point formatting, allowing more roundtrip checks to succeed.
- [abolz](https://github.com/abolz) integrated the Grisu2 algorithm for proper floating-point formatting, allowing more roundtrip checks to succeed.
- [Vadim Evard](https://github.com/Pipeliner) fixed a Markdown issue in the README.
- [Vadim Evard](https://github.com/Pipeliner) fixed a Markdown issue in the README.
- [zerodefect](https://github.com/zerodefect) fixed a compiler warning.
Thanks a lot for helping out! Please [let me know](mailto:mail@nlohmann.me) if I forgot someone.
Thanks a lot for helping out! Please [let me know](mailto:mail@nlohmann.me) if I forgot someone.
...
...
doc/avatars.png
View replaced file @
7aace7c9
View file @
1be3935e
This diff is collapsed.
Click to expand it.
src/json.hpp
View file @
1be3935e
...
@@ -7294,7 +7294,7 @@ boundaries compute_boundaries(FloatType value)
...
@@ -7294,7 +7294,7 @@ boundaries compute_boundaries(FloatType value)
const
bool
is_denormal
=
(
E
==
0
);
const
bool
is_denormal
=
(
E
==
0
);
const
diyfp
v
=
is_denormal
const
diyfp
v
=
is_denormal
?
diyfp
(
F
,
1
-
kBias
)
?
diyfp
(
F
,
kMinExp
)
:
diyfp
(
F
+
kHiddenBit
,
static_cast
<
int
>
(
E
)
-
kBias
);
:
diyfp
(
F
+
kHiddenBit
,
static_cast
<
int
>
(
E
)
-
kBias
);
// Compute the boundaries m- and m+ of the floating-point value
// Compute the boundaries m- and m+ of the floating-point value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment