Darkempire78 / OpenCalc

A simple and beautiful calculator for Android
GNU General Public License v3.0
737 stars 82 forks source link

App crash when doing log or ln of a negative number #316

Closed DomHeadroom closed 6 months ago

DomHeadroom commented 8 months ago

To Reproduce Steps to reproduce the behavior:

  1. Click on 'ln' or 'log'
  2. Click on '-'
  3. Click on any number

Expected behavior To give you the same error as log(0)

Smartphone:

TauAdam commented 6 months ago

The same error

inson1 commented 6 months ago

I think I cant reproduce it. Ofc if you dont talk about "Math error" message and I dont think you do. @Domefemia or Do you?

Screenshot_2023-10-24-11-04-13-066_com.darkempire78.opencalculator.jpg

Screenshot_2023-10-24-11-01-52-484_com.darkempire78.opencalculator.jpg

Screenshot_2023-10-24-11-01-15-574_com.darkempire78.opencalculator.jpg

DomHeadroom commented 6 months ago

Because probably now is fixxed

inson1 commented 6 months ago

@Domefemia It would be closed + there isnt any new release.

DomHeadroom commented 6 months ago

What app version are you using?

inson1 commented 6 months ago

@Domefemia Last version

Screenshot_2023-10-24-11-42-45-685_com.darkempire78.opencalculator.jpg

DomHeadroom commented 6 months ago

And the report is done on 3.0.0-beta2

inson1 commented 6 months ago

@Domefemia Oh ... Sorry. I didnt realize you were on beta release

inson1 commented 6 months ago

In latest beta version I can reproduce it.

Darkempire78 commented 6 months ago

fixed