tranleduy2000 / ncalc

Power calculator for Android. Solve some problem algebra and calculus.
GNU General Public License v3.0
680 stars 157 forks source link

GCD function doens't work #94

Open PaulZhu0122 opened 3 years ago

PaulZhu0122 commented 3 years ago

Describe the bug

In the scientific calculator module, after choosing GCD fuction and entering two integers, the calculator just displays GCD(num1, num2). It doesn't give the correct result.

Expected behavior

After entering two numbers, the greatest common divisor is expected to be displayed

To reproduce

  1. Open NCalc+ (Which is build from latest source code)
  2. Go to scientific calculator module
  3. Choose GCD function in advanced button
  4. Enter two positive integers
  5. Incorrect result has been displayed

    Configuration

    • Android version 9
    • device MI 8 Lite

      Screenshots

      image image