Closed Tehforsch closed 11 months ago
This allows using Quantity::clamp, Quantity::max and Quantity::min directly with floats for dimensionless quantities while still retaining the ability to call it with quantities (of matching dimension)
Quantity::clamp
Quantity::max
Quantity::min
This allows using
Quantity::clamp
,Quantity::max
andQuantity::min
directly with floats for dimensionless quantities while still retaining the ability to call it with quantities (of matching dimension)