Preserve operation order
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #15 di @hermione03 — chiusa senza merge
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 22/100
Direzione di ricerca
The payload names no source files, so start with the comment thread and the closed, unmerged pull request #15 to learn why it was not merged. The issue depends on the number data type change in issue #6 and on the parentheses and input-flow design, which the maintainers have not settled. Ask on the thread for a decision on the input design before writing code. Done means the whole expression is entered and evaluated with standard operator precedence and parentheses.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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. Also, while doing this, we should add support for parentheses, so user can override the default 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 EvalEx 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.
- Lingua principale
- Kotlin
- Stelle
- 450
- Fork
- 57
- Merge medio
- 2g 30m
- PR unite (30g)
- 11
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FossifyOrg/Calculator
-
Unit converter: Foot vs FeetApertafeature request needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
FossifyOrg/Calculator#320 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
FossifyOrg/Calculator#338 ·
I maintainer di solito rispondono entro 1 giorno
-
feature request needs triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
FossifyOrg/Calculator#325 ·
I maintainer di solito rispondono entro 1 giorno
-
feature request needs triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
FossifyOrg/Calculator#313 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Rounding errorsApertabug needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
FossifyOrg/Calculator#308 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di FossifyOrg/Calculator
Issue simili
-
bug Missing saved game
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
yairm210/Unciv#15826 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AniTrend/anitrend-v2#1344 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
zhanghai/MaterialFiles#1659 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Droid-Deck/DroidDeck#1098 ·
I maintainer di solito rispondono entro 1 giorno
-
Blank screen in Download tab after searching with no results and switching tabsForse già presa @mangod12 l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
kiwix/kiwix-android#5211 ·
I maintainer di solito rispondono entro 1 giorno