Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17639

[x64] Calculator in AMD64 takes wrong numbers because of msvcrt.dll

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.15
    • Component/s: CRT, SDK
    • Labels:

      Description

      ROS version tested: reactos-bootcd-0.4.15-dev-2739-gd65d413
      Arch: amd64 (msvc dbg)
      Type of CD: BootCD
      Enviroment: VirtualBox

      Steps to reproduce the issue.
      1. Install ReactOS 64 in a VBox 64 machine.
      2. Start calc.exe and press numbers and after that, the plus sign.

      Table with reactions now.

      Number clicked After pressing +
      0.1 Breaks the system Calc break 01.txt
      1 0.000000000001
      2 0.00000000002
      3 0.0000000003
      4 0.000000004
      5 0.00000005
      6 0.0000006
      7 0.000007
      8 ,0.00008
      9 ,,,,0.009
      10 ,,,,,,0.01
      11 ,,,,,,,,,0.11
      12 ,,,,,,,,,,,,1.2
      13 ,,,,,,,,,,,,,13
      ... etc
      after 10 digit number f.e. 9*10^9 Breaks the system Calc AMD64.txt

      The commas dissapear when you untick group digits. This problem does not reproduce when running our calc.exe in Windows or Wine. As said by Timo in the chat, the math is hacked.

      After making calculations, the resultant is the number in the right column.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ThePhysicist Timo Kreuzer
                Reporter:
                julenuri julenuri
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: