This website requires JavaScript.
Explore
Help
Sign In
interesting
/
libui
Watch
1
Star
0
Fork
You've already forked libui
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4,047
Commits
7
Branches
8
Tags
10
MiB
288c74b026
Commit Graph
2 Commits
Author
SHA1
Message
Date
Pietro Gagliardi
288c74b026
Implemented the new MulDiv128 stuff on macOS. To make things easier in regards to signedness, this implementation also uses a base, like the Unix one, and the mach_timebase_info() conversion is done in timerMonotonicTime() instead. (Also added the admittedly-redundant-since-the-current(ish)-implementation-cannot-fail error check to mach_timebase_info().) As a result, timerTimeSub() can now be end - start on all platforms. Also found and fixed bugs in the actual muldiv128 algorithm implementation. Next up: Windows.
2019-05-05 03:17:11 -04:00
Pietro Gagliardi
952b36b1c2
Added proper 128-bit muldiv() stuff for macOS and Windows. Will actually use them next. Also fixed compiling on non-Windows.
2019-05-05 02:17:11 -04:00