Skip to content

Strongly-typed fixed-point math #438

Description

@wjmelements

Fixed point math would benefit from strong typing in order to make clear the boundary between integers with and without multiplicative precision.

type FixedU18 is uint256;
type FixedI18 is int256;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions