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

Calculator in AMD64 takes wrong numbers.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: CRT
    • 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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              julenuri julenuri
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: