.net fw vs .net core calculations

S-Soft 666 Reputation points
2022-11-04T22:56:23.693+00:00

hello
any idea what's going on here?
257350-index.jpg

Developer technologies | VB
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes

Answer accepted by question author
  1. P a u l 10,766 Reputation points
    2022-11-05T00:57:20.16+00:00

    This was due to a change in the parsing/formatting of single/double precision floating point numbers as of .NET 3.

    The change makes floating point numbers more IEEE compliant with the aim to make numbers "round-trippable" (i.e. double.Parse(value.ToString()) == value )

    There's more information in this blog with some links to the GH issues that spawned the conversation if you're interested in a drilldown any further:
    https://devblogs.microsoft.com/dotnet/floating-point-parsing-and-formatting-improvements-in-net-core-3-0/

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.