Crate numcodecs_round
source ·Expand description
Rounding codec implementation for the numcodecs
API.
Structs§
- Positive floating point number
- Codec that
round
s the data on encoding and passes through the input unchanged during decoding.
Enums§
- Errors that may occur when applying the
RoundCodec
.
Traits§
- Floating point types
Functions§
- Rounds the input
data
usingc = round(x / precision) * precision