mpusz / mp-units

The quantities and units library for C++
https://mpusz.github.io/mp-units/
MIT License
994 stars 79 forks source link

added support for quantity_point math #570

Closed burnpanck closed 1 month ago

burnpanck commented 1 month ago

A small number of math.h operations are even well-specified for points in the affine space; I identified isfinite, isinf and isnan so far. We should eventually also support midpoint and lerp eventually - both of them are currently missing for bare quantities either. Work for another PR.