Preserve operation order
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #15 de @hermione03 — cerrado sin fusionar
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 22/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Kotlin
- Estrellas
- 450
- Forks
- 57
- Merge medio
- 2 d 30 min
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FossifyOrg/Calculator
-
Unit converter: Foot vs FeetAbiertofeature request needs triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
FossifyOrg/Calculator#320 ·
Los mantenedores suelen responder en 1 día
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
FossifyOrg/Calculator#338 ·
Los mantenedores suelen responder en 1 día
-
feature request needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
FossifyOrg/Calculator#325 ·
Los mantenedores suelen responder en 1 día
-
feature request needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
FossifyOrg/Calculator#313 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Rounding errorsAbiertobug needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 50/100
FossifyOrg/Calculator#308 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de FossifyOrg/Calculator
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
navikt/mock-oauth2-server#1129 ·
Los mantenedores suelen responder en 1 día
-
Expose `close` on SsrEngineAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
-
unconfirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
thunderbird/thunderbird-android#11778 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
software-mansion/enriched-markdown#1042 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
world-federation-of-advertisers/cross-media-measurement#4709 ·
Los mantenedores suelen responder en 1 día