{"action":"created","issue":{"url":"https://api.github.com/repos/QuantStack/xsimd/issues/225","repository_url":"https://api.github.com/repos/QuantStack/xsimd","labels_url":"https://api.github.com/repos/QuantStack/xsimd/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/QuantStack/xsimd/issues/225/comments","events_url":"https://api.github.com/repos/QuantStack/xsimd/issues/225/events","html_url":"https://github.com/QuantStack/xsimd/pull/225","id":389691835,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NjIzMjQ5","number":225,"title":"Correction of batch_bool<floating point type,...>::operator[]","user":{"login":"hleclerc","id":222970,"node_id":"MDQ6VXNlcjIyMjk3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/222970?v=4","gravatar_id":"","url":"https://api.github.com/users/hleclerc","html_url":"https://github.com/hleclerc","followers_url":"https://api.github.com/users/hleclerc/followers","following_url":"https://api.github.com/users/hleclerc/following{/other_user}","gists_url":"https://api.github.com/users/hleclerc/gists{/gist_id}","starred_url":"https://api.github.com/users/hleclerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hleclerc/subscriptions","organizations_url":"https://api.github.com/users/hleclerc/orgs","repos_url":"https://api.github.com/users/hleclerc/repos","events_url":"https://api.github.com/users/hleclerc/events{/privacy}","received_events_url":"https://api.github.com/users/hleclerc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T10:24:07Z","updated_at":"2018-12-11T11:00:42Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/QuantStack/xsimd/pulls/225","html_url":"https://github.com/QuantStack/xsimd/pull/225","diff_url":"https://github.com/QuantStack/xsimd/pull/225.diff","patch_url":"https://github.com/QuantStack/xsimd/pull/225.patch"},"body":"Hi there,\r\n\r\nMany thanks for your fantastic library !\r\n\r\nThere's a small correction for `batch_bool<T,...>::operator[]` where T is a float or a double: sse and avx operations that give booleans (e.g. for `operator<`) actually fill all the bits in the results. It gives a `-nan` for a true or a 0 for a false if read as a double or a float. Unfortunately, these floating points values do not convert directly to the right boolean :(\r\n\r\nIn the PR, there are some additionnal tests for this topic.\r\n\r\nBest regards.\r\n"},"comment":{"url":"https://api.github.com/repos/QuantStack/xsimd/issues/comments/446161844","html_url":"https://github.com/QuantStack/xsimd/pull/225#issuecomment-446161844","issue_url":"https://api.github.com/repos/QuantStack/xsimd/issues/225","id":446161844,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjE2MTg0NA==","user":{"login":"hleclerc","id":222970,"node_id":"MDQ6VXNlcjIyMjk3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/222970?v=4","gravatar_id":"","url":"https://api.github.com/users/hleclerc","html_url":"https://github.com/hleclerc","followers_url":"https://api.github.com/users/hleclerc/followers","following_url":"https://api.github.com/users/hleclerc/following{/other_user}","gists_url":"https://api.github.com/users/hleclerc/gists{/gist_id}","starred_url":"https://api.github.com/users/hleclerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hleclerc/subscriptions","organizations_url":"https://api.github.com/users/hleclerc/orgs","repos_url":"https://api.github.com/users/hleclerc/repos","events_url":"https://api.github.com/users/hleclerc/events{/privacy}","received_events_url":"https://api.github.com/users/hleclerc/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T11:00:42Z","updated_at":"2018-12-11T11:00:42Z","author_association":"NONE","body":"Ooops... I've missed it, many thanks :) !"}}
{"actor":{"display_login":"hleclerc"}}