num_
integer
0.1.46
Module average
Traits
Functions
In crate num_
integer
Module
num_integer
::
average
Copy item path
source
·
[
−
]
Traits
§
Average
Provides methods to compute the average of two integers, without overflows.
Functions
§
average_
ceil
Returns the ceiling value of the average of
x
and
y
– see
Average::average_ceil
.
average_
floor
Returns the floor value of the average of
x
and
y
– see
Average::average_floor
.