• Jarred Nicholls's avatar
    Later clang compilers will warn on float -> double promotion because it can add… · 926d7ffc
    Jarred Nicholls authored
    Later clang compilers will warn on float -> double promotion because it can add precision. In the context of RapidJSON – especially with its float methods on GenericValue – I think this warning holds no water and should be ignored.
    
    Trim whitespace off the end of various lines.
    
    Added an additional NumberStream specialization that will always perform a TakePush() even when just Take() is called. This supports RawNumber parsing by pushing onto our StackStream particular parts of the number that currently aren't captured because of full precision double parsing, such as the negative sign, scientific number exponents, etc.
    
    RawNumber parsing fails with input streams that don't have copy optimization, such as the BasicIStreamWrapper stream. To work around this, instead do the Transcode copy operation by reading from a UTF8 StringStream instead of the original InputStream. Since the NumberStream downcasts all input Ch into chars, we know we're dealing with UTF8/ASCII compatible stack characters during the Transcoding.
    926d7ffc
Name
Last commit
Last update
CMakeModules Loading commit data...
bin Loading commit data...
doc Loading commit data...
docker/debian Loading commit data...
example Loading commit data...
include/rapidjson Loading commit data...
test Loading commit data...
thirdparty Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CMakeLists.txt Loading commit data...
RapidJSON.pc.in Loading commit data...
RapidJSONConfig.cmake.in Loading commit data...
RapidJSONConfigVersion.cmake.in Loading commit data...
appveyor.yml Loading commit data...
library.json Loading commit data...
license.txt Loading commit data...
rapidjson.autopkg Loading commit data...
readme.md Loading commit data...
readme.zh-cn.md Loading commit data...
travis-doxygen.sh Loading commit data...