-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsenhancementNew feature or requestNew feature or requestneeds investigation
Milestone
Description
Problem
Currently, a generic function cannot take either a Generic or named Duration/Rate. This is because Generic does not implement FixedPoint.
Solution
- move associated const SCALING_FACTOR out of FixedPoint
- move FixedPoint into Duration
This will a provide a much more ergonomic way of using a generic Duration and Rate types. I think.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsenhancementNew feature or requestNew feature or requestneeds investigation