floating-point - IEEE-754十进制256实现?
问题描述
我正在尝试实现这种类型,但似乎找不到任何文档。
二进制 256 格式为尾数保留 236 位,其余 20 位用于符号和指数。另一方面,IEEE-754 BCD 格式使用符号后的两位作为标志来解释尾数的高位。如果我们使用 DPD 打包,那么低 230 位包含 69 个 BCD 数字,我猜其他 6 位必须包含两个,但是如何?
DPD 十进制 256 的布局如下:
0..229 23 decets of 3 BCD digits each
230..252 "combination" field containing exponent and hi bits of the
mantissa
253..254 2 bits following sign that are used as flags to interpret
the following 23 bits and/or as part of the value thereof.
255 sign
我的问题是:我应该如何解释上面提到的“组合”字段?
解决方案
推荐阅读
- php - 如何使用 WP_Query 统计帖子?
- python - 我将如何使用他们的名字和平均收视率准备前 15 部电影的表格?
- python - 如何将不同的单位转换为单个单位?
- javascript - React - 无法对未安装的组件执行 React 状态更新
- javascript - 使用节点 14 使 Express Static 停止“挂起”?
- c# - 我的进程暂时无法安排
- graph - SVM 图超平面可视化
- python - 熊猫 sql python
- html - 需要帮助使用表单将 URL 段附加到 HTML 中的特定 URL
- sql - 如何编写 bigquery SQL 来对多数类的行进行欠采样,同时保留少数类的所有样本?