SMH110 / widgets

1 stars 0 forks source link

Using multiple operators results in strange behaviour #8

Closed massimocode closed 8 years ago

massimocode commented 8 years ago

Replication steps: Perform the following operations in strict order 1) 1 + 1 = (correctly displays 2) 2) + - 1 = (displays 3 instead of 1)

This does not match common calculator behaviour

massimocode commented 8 years ago

Another simpler example: 1) 3 * - 1 = (displays 3 instead of 2)

I tried this on my Windows Phone calculator, my Android tablet calculator and my Mac calculator and all of them displayed 2. I think the last pressed operator should be used.

SMH110 commented 8 years ago

This bug has been fixed in 731437d3d65e7ccffb53a8fd5a945b2439567d89

massimocode commented 8 years ago

I have verified this has been fixed