commit | 192c68b85abb724079b98dde6cdd1edba2dbcb7c | [log] [tgz] |
---|---|---|
author | Zack Rusin <zackr@vmware.com> | Wed Jul 17 16:55:52 2013 -0400 |
committer | Zack Rusin <zackr@vmware.com> | Fri Jul 19 16:29:17 2013 -0400 |
tree | 10a8ec45cd66f6f14863ed64645b37809ef3a60b | |
parent | 13e2cd2f2ccb06cd6dc9acda0b6bbe268ee37879 [diff] |
gallivm: handle -inf, inf and nan's in sin/cos instructions sin/cos for anything not finite is nan and everything else has to be between [-1, 1]. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>