mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-06 23:49:32 -06:00
bump modernc.org/sqlite to v1.35.0-concurrency-workaround (#3797)
This commit is contained in:
parent
879ca2d2f8
commit
ebbdeee0bb
114 changed files with 891873 additions and 192475 deletions
7
vendor/modernc.org/mathutil/rat.go
generated
vendored
7
vendor/modernc.org/mathutil/rat.go
generated
vendored
|
|
@ -6,10 +6,9 @@ package mathutil // import "modernc.org/mathutil"
|
|||
|
||||
// QCmpUint32 compares a/b and c/d and returns:
|
||||
//
|
||||
// -1 if a/b < c/d
|
||||
// 0 if a/b == c/d
|
||||
// +1 if a/b > c/d
|
||||
//
|
||||
// -1 if a/b < c/d
|
||||
// 0 if a/b == c/d
|
||||
// +1 if a/b > c/d
|
||||
func QCmpUint32(a, b, c, d uint32) int {
|
||||
switch x, y := uint64(a)*uint64(d), uint64(b)*uint64(c); {
|
||||
case x < y:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue