Skip to content

Develop Core Functionality #1

@Ryan4253

Description

@Ryan4253

Core functionalities

  1. The quantities shall emit a compile error when dimension mismatch occurrs
  2. The quantities shall support common quantities and units
  3. The quantities shall interop with standard library math
  4. Dimensionless quantities shall be implicitly convertible to / from doubles
  5. The code shall compile in a pros codebase
  6. The quantities shall have literals for easy usage

Support for common quantities

  • Length
  • Area
  • Curvature
  • Time
  • Frequency
  • Mass
  • Velocity
  • Acceleration
  • Jerk
  • Force
  • Angle
  • Angular Velocity
  • Angular Acceleration
  • Angular Jerk
  • Torque
  • Voltage
  • Current
  • Power

STL interop

  • CMath
  • std::numeric_limits
  • std::hash
  • std::format

Metadata

Metadata

Assignees

No one assigned

    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