Fast entry of negative exponents m,u,n,p

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

Start by locating the calculator's keyboard handling and the code that enters or exits the "E" shift state. Add the four specified mappings only while that state is active, and confirm each key returns the buttons to their normal function. Verify the existing calculator input behavior after implementing the feature.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Electronic eng involves a lot of small numbers, and entering the exponent is tiresome extra keystrokes, especially for pico, which is sadly all to common. Despite repeatedly writing to the government to ban or at least restrict pF capacitors, they continue to be widely sold and used.

I propose this key mapping, which I used in my free42:

When "E" has been pressed, and the sw is in the "E" shift state, then
"R" -> milli : E-03
"SIN" -> micro E-06
"COS" -> nano E-09
"TAN" ->pico E-12

This is only active in the "E" shift state.
As soon as one of the 4 buttons is pressed, it exits the "E" shift state (i.e. as if you had pressed "E" again), so the buttons resume their normal function.

Lingua principale
C++
Stelle
25
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.