[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 16:57:55 PDT 2019


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

--- Comment #6 from Justin Michaud <justin_michaud at apple.com> ---
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.

-- 
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/20190604/b4825dcf/attachment.html>


More information about the webkit-unassigned mailing list