Microsoft/calculator

Support floating point when in all radices in Programmer view (dec, octal, hex, bin)

Open

#116 创建于 2019年3月6日

在 GitHub 查看
 (10 评论) (24 反应) (0 负责人)C++ (2,422 fork)batch import
EnhancementPri: 2help wantedneeds spec

仓库指标

Star
 (16,196 star)
PR 合并指标
 (平均合并 15小时 43分钟) (30 天内合并 7 个 PR)

描述

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: image

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

贡献者指南