summaryrefslogtreecommitdiffstats
path: root/src/glx/glx_error.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-08-21 22:01:12 +0200
committerRoland Scheidegger <[email protected]>2013-08-21 22:05:53 +0200
commite6013e4bee7ebff6b7bd2f3b95eb16e8949e228c (patch)
tree78060879fdf1bb0616f38e78647af584f97ccec6 /src/glx/glx_error.c
parent275d2efeed79f135bbcc512bcf2c0607f2f25cd1 (diff)
gallivm: unify sin and cos implementation
The (complicated!) math is all identical, there's just minimal differences how sign bit is calculated plus there's an additional subtraction for the argument going into the polynomial for cos. The logic stays 100% the same (with a small exception, sign bit calculation for sin is minimally simplified, applying sign mask after xoring the arguments instead of applying it to each argument). Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glx/glx_error.c')
0 files changed, 0 insertions, 0 deletions