The calculator app is not correctly handling decimal subtraction
Reported by
tic...@gmail.com,
Mar 12 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS x86_64 7834.60.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.95 Safari/537.36 Platform: 7834.60.0 (Official Build) beta-channel link Steps to reproduce the problem: 1. Open the Calculator app 2. Type a decimal subtraction eg 0.5 - 0.4 What is the expected behavior? The answer should be 0.1 What went wrong? The answer is shown as 0.09999999999999998 WebStore page: https://chrome.google.com/webstore/detail/calculator/joodangkbfjnajiiifokapkpmhfnpleo Did this work before? N/A Chrome version: 49.0.2623.95 Channel: beta OS Version: 7834.60.0 Flash Version: Shockwave Flash 21.0 r0 H/T to Andrew Seeley for spotting this
,
Mar 13 2016
Relevant Stack Overflow thread: https://stackoverflow.com/questions/588004/is-floating-point-math-broken
,
Apr 25 2016
Works fine on 51.0.2704.26/8172.12.0 |
||
►
Sign in to add a comment |
||
Comment 1 by danielhe...@gmail.com
, Mar 13 2016