Skip to content

Reevalute the use of the downcasting facility on units #383

@JohelEGP

Description

@JohelEGP

The use of the downcasting facility on units is at odds with

It is therefore important not to use the unit alone to specify the quantity. This applies not only to
technical texts, but also, for example, to measuring instruments (i.e. the instrument read-out
needs to indicate both the unit and the quantity measured).
-- Extract from https://www.bipm.org/en/publications/si-brochure

This is quoted at #32 (comment). I do not think the library should, for example, transform an unit of s⁻¹ to Hz. That conversion should be explicitly specified by the user where it matters, because they carry different information.

Dropping the use of downcasting facility on units will also remove the source of conflicts between equivalent units that currently want to be downcasted to from the same set of base units.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions