Skip to content

Normative rule text doesn't handle latexmath properly #126

@james-ball-qualcomm

Description

@james-ball-qualcomm

In norm-rules.json, the image: portion is unusable and should be dropped, or left with the original latex math tag.

      "name": "signed_div_overflow",
      "def_filename": "normative_rule_defs/m-st-ext.yaml",
      "chapter_name": "M Extension",
      "tags": [
        {
          "name": "norm:signed_div_overflow",
          "text": "Signed division overflow occurs only when the most-negative integer is divided\nby image:../../build/images-out/stem-52c1acbf19a35be815dca1fd989d89e4.svg[width=15,height=8]. The quotient of a signed division with overflow is\nequal to the dividend, and the remainder is zero.",
          "tag_filename": "/build/riscv-unprivileged-norm-tags.json"
        }
      ]

This came from m-st-ext.adoc:

[#norm:signed_div_overflow]#Signed division overflow occurs only when the most-negative integer is divided
by latexmath:[$-1$]. The quotient of a signed division with overflow is
equal to the dividend, and the remainder is zero.#

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions