Skip to content

Conversation

@wtholliday
Copy link
Contributor

Minor cleanup :)

@mindbrix
Copy link
Owner

mindbrix commented Sep 5, 2025

Thanks. Can we define these using constexpr float instead? More consistent.

@wtholliday
Copy link
Contributor Author

wtholliday commented Sep 6, 2025

I wanted to be absolutely sure I wasn't adding things in the constant memory space. MSL requires program scope constants to be declared as constexpr constant, though they'll probably optimized as inline constants. (Also the built-in numeric constants like M_SQRT2_F are expressed using macros)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants