[Webkit-unassigned] [Bug 198106] WebAssembly: pow functions returns 0 when exponent 1.0 or -1.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 4 17:06:46 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198106

--- Comment #7 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to Justin Michaud from comment #6)
> The following program exhibits different behavior on Mac/iOS:
> 
> out.wat:
> 
> (module
>   (func (export "test") (result f64)
>     f64.const 42
>     f64.const 42
>     i32.const -1
>     i32.const -1
>     i32.eq
>     select
> ))
> 
> out.js:
> import { test } from 'out.wasm'
> 
> print("test: " + test())
> 
> Run as module with --wasmBBQUsesAir=0 --defaultB3OptLevel=0 to reproduce.
> iOS gives 0, Mac gives 42.

Nice! It sounds like a good starting point to investigate this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190605/5a22cff2/attachment.html>


More information about the webkit-unassigned mailing list