Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DivideCeil ¶
DivideCeil divides two integers and rounds up, rather than down (which is what happens when you do int64/int64).
func IsSignedZero ¶
IsSignedZero checks if this number is a signed zero (i.e. -0, instead of +0).
Types ¶
type Byte ¶
type Byte float64
Byte is a float64 where the String() method prints out a human-redable description.
func (Byte) HumanReadable ¶
HumanReadable will take a measurement multiple as well as a slice of formats to convert the byte into a human readable format using the given parameters.
func (Byte) StringAsBytes ¶
StringAsBytes will return the bytes formatted as "bytes" (multiples of 1000)
Click to show internal directories.
Click to hide internal directories.