mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-07 04:34:41 +08:00
1 parent
3e1e75fe08
commit
48ab87294b
4 files changed
+50
-20
No files matched your search
@@ -19,6 +19,14 @@ func Max(first int, items ...int) int {
|
||||
return max
|
||||
}
|
||||
|
||||
// Max32 returns the smallest 32-bit integer
|
||||
func Min32(first int32, second int32) int32 {
|
||||
if first <= second {
|
||||
return first
|
||||
}
|
||||
return second
|
||||
}
|
||||
|
||||
// Max32 returns the largest 32-bit integer
|
||||
func Max32(first int32, second int32) int32 {
|
||||
if first > second {
|
||||
|
||||
Reference in new issue
Block a user