Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
range check in IsLosslessFloat to avoid undefined double->float cast
UBSAN gave in Value.IsLosslessFloat: include/rapidjson/document.h:981:38: runtime error: value 3.40282e+38 is outside the range of representable values of type 'float'
- Loading branch information