exercism / exercism/problem-specifications

Specification for VLQ should be explicit on 7-bit bytes starting from the right

未关闭
#1,566 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Ruby
星标
358
派生
563
平均合并
18 小时 41 分钟
30 天内合并 PR
2

描述

I think the VLQ specification should be more explicit about building 7-bit bytes starting from the right (least significant bits):

Correct order: start from the right (least significant bits):
32 bit input = (4-bits) (7-bits) (7-bits) (7-bits) (7-bits)

Wrong order: start from the left (most significant bits):
32 bit input = (7-bits) (7-bits) (7-bits) (7-bits) (4-bits)

Problem specification:
https://github.com/exercism/problem-specifications/blob/master/exercises/variable-length-quantity/description.md

Of course the student can find the correct order by looking at the test cases, but is there a reason to not being more explicit?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。