aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-09-26 08:59:57 -0500
committertlatorre <tlatorre@uchicago.edu>2018-09-26 08:59:57 -0500
commite5c270c8c442136c7fd44751e1ccac887f49bd06 (patch)
tree854259150133a810c68808e435eae45f30eb3378 /src/misc.c
parent8bdcdbc04913df2d0d4ce4d1d8d85c8da2185e59 (diff)
downloadsddm-e5c270c8c442136c7fd44751e1ccac887f49bd06.tar.gz
sddm-e5c270c8c442136c7fd44751e1ccac887f49bd06.tar.bz2
sddm-e5c270c8c442136c7fd44751e1ccac887f49bd06.zip
speed up fast likelihood calculation
This commit speeds up the fast likelihood calculation by avoiding calls to trigonometric functions where possible. Specifically we calculate sin(a) = sqrt(1-pow(cos(a),2)); instead of sin(a) = sin(acos(cos(a)));
Diffstat (limited to 'src/misc.c')
0 files changed, 0 insertions, 0 deletions