Skip to content

Conversation

@chiphogg
Copy link
Member

The "sign" of a unit or magnitude is always mag<1>() (i.e.,
Magnitude<>{}) if positive, or -mag<1>() (i.e.,
Magnitude<Negative>{}) if negative.

We also update the docs, including adding docs for a few new traits that
we had missed, and updating the headings for the magnitude traits to
phrase the boolean ones in the form of a question (in case we ever get
on Jeopardy).

Helps #428.

The "sign" of a unit or magnitude is always `mag<1>()` (i.e.,
`Magnitude<>{}`) if positive, or `-mag<1>()` (i.e.,
`Magnitude<Negative>{}`) if negative.

We also update the docs, including adding docs for a few new traits that
we had missed, and updating the headings for the magnitude traits to
phrase the boolean ones in the form of a question (in case we ever get
on Jeopardy).

Helps #428.
@chiphogg chiphogg added the release notes: ✨ lib (enhancement) PR enhancing the library code label May 20, 2025
@chiphogg chiphogg merged commit 46b5962 into main May 20, 2025
15 checks passed
@chiphogg chiphogg deleted the chiphogg/unit-sign#428 branch May 20, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: ✨ lib (enhancement) PR enhancing the library code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants