Microsoft/calculator

Update calc engine to remove existence of negative 0

Open

#67 opened on Feb 27, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (2,422 forks)batch import
Pri: 2approvedcodebase qualityhelp wanted

Repository metrics

Stars
 (16,196 stars)
PR merge metrics
 (Avg merge 15h 43m) (7 merged PRs in 30d)

Description

The current calc engine has many cases that result in a calculation of negative 0. While there are a couple spots where this is checked and resolved (2, to be exact), this should be improved to prevent cases like "not(1-1) = -1".

Contributor guide