summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-22 22:32:57 +0200
committerwm4 <wm4@nowhere>2014-05-22 22:36:42 +0200
commitc9b68957c9f79543063dcfa5c8baa417b43e285e (patch)
tree7fba72eb668195c9570020f920a0a09ae013599b /sub
parentcb2e784c075bed1a3220cf46dc072171f4f632e5 (diff)
downloadmpv-c9b68957c9f79543063dcfa5c8baa417b43e285e.tar.bz2
mpv-c9b68957c9f79543063dcfa5c8baa417b43e285e.tar.xz
timer: improve overflow checks
Probably more correct and better readable. Although the special-casing of 0x1p63 is weird in terms of readability (the value itself is INT64_MAX+1, so it's already outside of range, but INT64_MAX is not exactly representable with double precision).
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions