Why doesn't the C ++ standard library provide a cmath version for constexpr?

We have constexpr functions, since C ++ 11, and they become less limited, since with each new standard (14, 1z).

However, the most obvious functions in STL that constexpr can constexpr , cmath / math.h , still do not have a constexpr version in any standard AFAIK library implementation.

Is it just behind the C ++ standard, or is there another reason why we still don't have versions of these constexpr functions?

+5
source share
1 answer

It is not yet standardized. Initial offer

+5
source

Source: https://habr.com/ru/post/1264125/


All Articles