-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
stdlib: quaternions #19185
Comments
Duplicate #947 |
That one was a general discussion on math types at the language level, focused on usability features like operator overloading. This one is for the stdlib, specifically for whether or not quat has a place in the stdlib at all. |
Quaternions should NOT be in the sdtlib. It is too esoteric and multiple implementations exist for different use-cases. Clearly in the realm of specialized libraries. |
Are Complex numbers in the stdlib? |
|
Complex numbers naturally arise as an algebraic extension of real numbers when you take operations like |
Also note that complex numbers are in the C99 spec and, if I understood correctly, there are efforts to move them out from the zig std and into the language itself. (#16278) |
Discuss, whether quaternions should be deliberately out-of-scope for the stdlib and best left to third party geometry libraries, or if a rudimentary datatype could be added for other libraries to build upon?
The text was updated successfully, but these errors were encountered: