package
Version:
v0.0.0-...-30c4fd9
Opens a new window with list of versions in this module.
Published: Aug 28, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DivideCeil divides two integers and rounds up, rather than down (which is
what happens when you do int64/int64).
IsSignedZero checks if this number is a signed zero (i.e. -0, instead of +0).
Limit a value between a lower and upper limit.
Max gets the highest of two numbers.
Min gets the lowest of two numbers.
Round will round the value to the nearest natural number.
.5 will be rounded up.
RoundPlus will round the value to the given precision.
e.g. RoundPlus(7.258, 2) will return 7.26
Byte is a float64 where the String() method prints out a human-redable
description.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.