Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve operation order #7

Open
5 tasks done
Aga-C opened this issue Jan 2, 2024 · 2 comments
Open
5 tasks done

Preserve operation order #7

Aga-C opened this issue Jan 2, 2024 · 2 comments
Labels
feature request Issue is about a new feature in the app

Comments

@Aga-C
Copy link
Member

Aga-C commented Jan 2, 2024

Checklist

  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Is your feature request related to a problem? Please describe.
Calculator currently does operations in a sequence, what can be a bit misleading, because all system calculators on Android I've seen were preserving operations order.

Describe the solution you'd like
Instead of current way of input, which works like traditional digital calculators, it should rather work like stock Android calculators. It should allow to input the whole equation and then compute it, preserving operation order.

Describe alternatives you've considered
In SMT Tibor wanted this feature to be only in scientific calculator mode (to be done maybe someday). However, I don't think it's a good idea, since stock calculators have this in every mode, not just scientific.

Additional context
Currently implementing it will be fairly easy, because Calculator is built on exp4j library which preserves operation order. However, if we change the number data type (issue #6), it will need to be done differently. But doing it from the scratch shouldn't be very hard, it's just implementing the simple algorithms like Shunting Yard.

@Aga-C Aga-C added the feature request Issue is about a new feature in the app label Jan 2, 2024
@hermione03
Copy link

hermione03 commented Feb 6, 2024

Hi! @chLynda and I are Computer Science students at Université Paris 8 (France).

We're part of an Open Source Software course, and contributing to a Git project is a requirement. We've seen issue #7 in the Calculator project and would like to work on it

@jonas-w
Copy link

jonas-w commented Feb 17, 2024

@hermione03 FYI you linked the issue #7 on the calendar project but commented on the #7 of the calculator project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is about a new feature in the app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants