Skip to content

Commit

Permalink
Wording fixes and little extra detail in one point
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalcomson committed Feb 24, 2023
1 parent e015bab commit 1e0e0fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions design-documents/bit-precise-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ It has the following negatives:
from an ABI boundary would require masking the operands.

- On AArch32 this could cause surprises to developers, given that on this
architecture small Fundamental Data Types are have zero- or sign-extended
extra bits. So a ``char`` would not have the same representation as a
architecture small Fundamental Data Types have zero- or sign-extended extra
bits. So a ``char`` would not have the same representation as a
``_BitInt(8)`` on this architecture.

- If used in calls to variadic functions which were written for standard
Expand Down Expand Up @@ -454,7 +454,9 @@ It has the following negatives:
boundary.

- On AArch64 this would not match the expectation of developers, with
``_BitInt(8)`` not matching the representation of a ``char``.
``_BitInt(8)`` not matching the representation of a ``char``. That said, a
``_BitInt(8)`` at a PCS boundary would be a valid ``char`` (since the ``char``
bits are unspecified and the ``_BitInt(8)`` bits are specified).

Summary, suggestion, and reasoning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 1e0e0fa

Please sign in to comment.