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

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
25
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.