New issue
Advanced search Search tips

Issue 794448 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

The algebra solver give wrong answer on certain equation if phrased in particular order

Reported by mohitmis...@gmail.com, Dec 13 2017

Issue description

<b>Chrome Version       : <Copy from: 'about:version'></b>
URLs (if applicable) :NA
Other browsers tested:No
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari:
    Firefox:
       Edge:

What steps will reproduce the problem?
(1)Go to google search.
(2)put 10^17+100-10^17(It gives 0 as a result)
(3)put 10^17-10^17+100(it gives 100 as a result)

What is the expected result?
expected result should be 100 as its producing in step (3)


What happens instead?

it Gives 0
Please provide any additional information below. Attach a screenshot if
possible.

 
10^17+100-10^17 - Google Search.pdf
141 KB Download
10^17-10^17+100 - Google Search.pdf
118 KB Download
Labels: Needs-Milestone

Comment 2 by woxxom@gmail.com, Dec 17 2017

Just like 99.9999% of the web, it uses the standard IEEE754 double-precision float arithmetic, which can only preserve 15 decimal digits *reliably* [1] so let's look at the numbers:

10^17  = 100000000000000000 = 18 digits = 1.0e17 internally
+100   = 100000000000000100 = 18 digits = 1.0e17 internally because the added "1" is a 16th digit so it's past the limit

  [1]: https://en.wikipedia.org/wiki/IEEE_754#cite_ref-5
Components: UI>Browser>Omnibox
Labels: -Pri-3 Triaged-ET M-65 OS-Linux OS-Mac OS-Windows Pri-2
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome stable version #63.0.3239.108 and latest canary #65.0.3306.0.
This is a non-regression issue as it is observed from M50 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 4 by k...@chromium.org, Jan 5 2018

Labels: -Pri-2 Pri-3
Status: WontFix (was: Untriaged)

Sign in to add a comment