MCPcopy Create free account
hub / github.com/cwida/ALP / decode

Method decode

include/alp/decoder.hpp:134–138  ·  view source on GitHub ↗

Scalar decoding of an ALP vector

Source from the content-addressed store, hash-verified

132
133 //! Scalar decoding of an ALP vector
134 static inline void decode(const ST* encoded_integers, const uint8_t fac_idx, const uint8_t exp_idx, PT* output) {
135 for (size_t i {0}; i < config::VECTOR_SIZE; i++) {
136 output[i] = decode_value(encoded_integers[i], fac_idx, exp_idx);
137 }
138 }
139
140 //! Patch Exceptions
141 static inline void patch_exceptions(PT* out,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected