Support floating point when in all radices in Programmer view (dec, octal, hex, bin)
#116 opened on 2019年3月6日
Repository metrics
- Stars
- (16,196 stars)
- PR merge metrics
- (平均マージ 15h 43m) (30d で 7 merged PRs)
説明
Problem Statement: Programmer mode does not support IEEE floating point data types as commonly used in programming languages. This limits the applicability of the calculator tool for anyone attempting to debug/investigate/test/perform floating point math using calculator.
Evidence or User Insights: Looking at the source code of this very project reveals floats are very commonly used by the target user audience of the mode (programmers).
Proposal: Add IEEE 754 standard binary float types (32 and 64 bit at minimum 16, 128, 256 bit and IEEE 754 decimal as a stretch) to the existing int data type list.
Goals: The Calculator app be able to perform the full set of operations included in the programmer mode on the proposed IEEE 754 floating point types in the same fashion the various integer types are supported.
Non-Goals: Non-IEEE standard floating point implementations such as float 8, float 24, or non standard variations of the primary float types are not part of the proposal.
Low-Fidelity Concept:

A team member has edited this comment to update the pitch based on discussion below.