{"action":"opened","issue":{"url":"https://api.github.com/repos/johnmccutchan/ecmascript_simd/issues/177","labels_url":"https://api.github.com/repos/johnmccutchan/ecmascript_simd/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/johnmccutchan/ecmascript_simd/issues/177/comments","events_url":"https://api.github.com/repos/johnmccutchan/ecmascript_simd/issues/177/events","html_url":"https://github.com/johnmccutchan/ecmascript_simd/issues/177","id":81287674,"number":177,"title":"Should binary operations be defined on float types?","user":{"login":"littledan","id":189835,"avatar_url":"https://avatars.githubusercontent.com/u/189835?v=3","gravatar_id":"","url":"https://api.github.com/users/littledan","html_url":"https://github.com/littledan","followers_url":"https://api.github.com/users/littledan/followers","following_url":"https://api.github.com/users/littledan/following{/other_user}","gists_url":"https://api.github.com/users/littledan/gists{/gist_id}","starred_url":"https://api.github.com/users/littledan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littledan/subscriptions","organizations_url":"https://api.github.com/users/littledan/orgs","repos_url":"https://api.github.com/users/littledan/repos","events_url":"https://api.github.com/users/littledan/events{/privacy}","received_events_url":"https://api.github.com/users/littledan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T05:36:04Z","updated_at":"2015-05-27T05:36:04Z","closed_at":null,"body":"It seems that operations like and, or, not, etc are defined in the polyfill on float32x4 but not float64x2. Should they be defined on float types? Seems to me like they should be on both of those or neither. For float32x4 they are just defined as casting bits to int32x4, doing the binary operation, and casting back; seems to me like this would extend pretty cleanly to float64x2.\r\n\r\nNaively, I'd suggest restricting these binary operations to integer types, but I don't have much background about use cases."}}