This website requires JavaScript.
Explore
Help
Register
Sign In
outman
/
jsoncpp
Watch
1
Star
0
Fork
0
You've already forked jsoncpp
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
4b819c2309
jsoncpp
/
test
/
data
/
test_integer_07_64bits.expected
2 lines
24 B
Plaintext
Raw
Normal View
History
Unescape
Escape
- Moved definition of Json::Int and Json::UInt to config.h which compiler detection logic to define them to 64 bits integer if JSON_NO_INT64 is not defined. - Added Json::ArrayIndex as an unsigned int to forwards.h - Modified Json::Value to consistently use Json::ArrayIndex. - Added int/unsigned int constructor overload to Json::Value to avoid ambiguous constructor call. - Modified jsontestrunner/main.cpp to use Json::valueToString for Value::asInt() conversion to string. - Modified Json::Reader to only overflow to double when the number is too large (previous code relied on the fact that an int fitted in a double without precision loss). - Generalized uintToString() helpers and buffer size to automatically adapt to the precision of Json::UInt. - Added specific conversion logic for UInt to double conversion on Microsoft Visual Studio 6 which only support __int64 to double conversion (unsigned __int64 conversion is not supported) - Added test for 64 bits parsing/writing. Notes: those will fail when compiled with JSON_NO_INT64 (more dev required to adapt).
2010-04-19 15:37:41 +08:00
.=-9223372036854775808
Reference in New Issue
Copy Permalink