Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaman support for exotic floating point types #12

Open
cedricchevalier19 opened this issue Dec 13, 2023 · 0 comments
Open

Shaman support for exotic floating point types #12

cedricchevalier19 opened this issue Dec 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cedricchevalier19
Copy link
Member

Shaman requires std::is_arithmeticwhich is only fulfilled by std::bfloat16_t since C++23 and more annoyingly cannot be changed on the user side.

https://en.cppreference.com/w/cpp/types/is_floating_point

Checks whether T is a floating-point type. Provides the member constant value which is equal to true, if T is the type float, double, long double, or any extended floating-point types (std::float16_t, std::float32_t, std::float64_t, std::float128_t, or std::bfloat16_t)(since C++23), including any cv-qualified variants. Otherwise, value is equal to false.

The behavior of a program that adds specializations for std::is_floating_point or std::is_floating_point_v is undefined.

@cedricchevalier19 cedricchevalier19 added the enhancement New feature or request label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant