[
https://issues.apache.org/jira/browse/THRIFT-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955849#comment-14955849
]
Jens Geyer commented on THRIFT-3376:
------------------------------------
What about [this paragraph in the
docs|https://msdn.microsoft.com/de-de/library/dwhawy9k(v=vs.110).aspx#RFormatString]?
{quote}
To work around the problem of Double values formatted with the "R" standard
numeric format string not successfully round-tripping if compiled using the
/platform:x64 or /platform:anycpu switches and run on 64-bit systems., you can
format Double values by using the "G17" standard numeric format string. The
following example uses the "R" format string with a Double value that does not
round-trip successfully, and also uses the "G17" format string to successfully
round-trip the original value
{quote}
Should we care about that?
> C# and Python JSON protocol double values lose precision
> --------------------------------------------------------
>
> Key: THRIFT-3376
> URL: https://issues.apache.org/jira/browse/THRIFT-3376
> Project: Thrift
> Issue Type: Bug
> Components: C# - Library, Python - Library
> Reporter: Nobuaki Sukegawa
> Assignee: Nobuaki Sukegawa
>
> These two use default ToString/str methods that do not fully preserve double
> precision.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)