diff options
author | Zack Rusin <[email protected]> | 2013-07-18 02:38:54 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-07-19 16:29:17 -0400 |
commit | 7b672c1503abffcc83a30a9731419539f52ac73f (patch) | |
tree | f91b624cecf8c178e9b6e286b27097200348b0fd /include | |
parent | ab47bbecd64d05d4fe03bed28291387dd08f5b84 (diff) |
gallivm: fix edge cases in exp2
exp(0) has to be exactly 1, exp(-inf) has to be 0, exp(inf) has
to be inf and exp(nan) has to be nan, this fixes all of those
cases.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions