[idl_parser] Unify parsing of NaN values read from .fbs and .json files (#6296)
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Mon, 7 Dec 2020 19:12:58 +0000 (02:12 +0700)
committerGitHub <noreply@github.com>
Mon, 7 Dec 2020 19:12:58 +0000 (11:12 -0800)
commit8d9eae9ac95c06ca1ae0139a8d80522163a17ae5
tree850b481c2e7a48b44f6e13b125a3e7f8f7d383ed
parent2046bffa40400904c926c2a5bedab67a8d6b7e08
[idl_parser] Unify parsing of NaN values read from .fbs and .json files (#6296)

This commit unifies parsing of NaN values read
from .fbs and .json files by converting them to unsigned NaN.
include/flatbuffers/base.h
include/flatbuffers/stl_emulation.h
src/idl_parser.cpp
tests/fuzzer/CMakeLists.txt
tests/fuzzer/flatbuffers_scalar_fuzzer.cc
tests/fuzzer/scalar_debug.cpp
tests/fuzzer/scalar_json.dict