diff --git a/vlib/math/bits/bits.v b/vlib/math/bits/bits.v index b269cce84b..417f22d9d4 100644 --- a/vlib/math/bits/bits.v +++ b/vlib/math/bits/bits.v @@ -220,7 +220,7 @@ pub fn reverse64(x u64) u64 { // // This function's execution time does not depend on the inputs. [inline] -fn reverse_bytes16(x u16) u16 { +pub fn reverse_bytes16(x u16) u16 { return u16(x>>u16(8)) | u16(x<>u32(8)&u32(m3&m)) | u32(u32(x&u32(m3&m))<>u32(16)) | u32(y<>u64(8)&(m3&m)) | u64(u64(x&(m3&m))<>u64(16)&(m4&m)) | u64(u64(y&(m4&m))<= u16(u16(1)<= u32(u32(1)<= u64(u64(1)<