• zhengxing.li's avatar
    X87: [test] disable number-tostring test case for x87. · 0c6b6138
    zhengxing.li authored
      The reason:
      The CL #41255 (https://codereview.chromium.org/2520363002 ) reimplemnt the Number.prototype.toString and the added number-tostring test cases failed at x87.
    
      Similar to many previos fixing CLs, i.e.: CL #37371 (https://codereview.chromium.org/2111493002 ), the root reason is:
      The Gcc compiler and it's dependent C++ libraris on linux platform use x87 in extended 80-bit double precision by default.
      So the reimplemented DoubleToRadixCString() will generate extended 80-bit double precision result which isn't the expected standard 64-bit double precision
      value.
    
      Although modifying DoubleToRadixCString() function to manually do the 80-bit <--> 64-bit conversion for each double/float computation step can fix this issue,
      but it wll drop the DoubleToRadixCString() function's performance of other architectures.
    
      This CL put the failed number-tostring test cases into number-tostring-big-integer.js and disables it for x87.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2532073002
    Cr-Commit-Position: refs/heads/master@{#41322}
    0c6b6138
number-tostring.js 17.3 KB