Math result inconsistency with exponent (math.pow vs. **)
Reported by
ferenn.g...@gmail.com,
Nov 28 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. Open console 2. Enter Math.pow(99,99) 3. Enter 99**99 Compare results What is the expected behavior? The results should be the same What went wrong? Mathematical error: Math.pow(99,99) 3.697296376497263e+197 99**99 3.697296376497268e+197 Did this work before? N/A Chrome version: 62.0.3202.94 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version:
,
Nov 29 2017
,
Nov 29 2017
Simple test.html attached below. Expected: the page shows SUCCESS Observed: the page shows FAILURE Firefox succeeds. Chrome fails including canary.
,
Nov 29 2017
Able to reproduce the issue on reported version 62.0.3202.94 and latest Canary 64.0.3279.0 using Windows 7, ubuntu 14.04 and Mac 10.12.6, the same is seen from M52(52.0.2716.0). On entering 99**99, uncaught exception is seen in M-50 and M-51. Hence considering the issue as Non-Regression from M-52 and marking it as Untriaged.
,
Dec 5 2017
I'm not sure what an "untriaged" status means, or what needs to be done to triage this, but to me it seems clear that this was simply an implementation error when "**" was added to blink as an operator. It's an accuracy/differential bug. float vs. double is the most likely reason for this.
,
Dec 7 2017
,
Dec 12 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by manoranj...@chromium.org
, Nov 28 2017