Skip to content

Basic complex number support#33

Draft
olwmc wants to merge 5 commits intoURI-ABD:masterfrom
olwmc:feat/complex
Draft

Basic complex number support#33
olwmc wants to merge 5 commits intoURI-ABD:masterfrom
olwmc:feat/complex

Conversation

@olwmc
Copy link

@olwmc olwmc commented Nov 19, 2023

Implementation of 32 and 64 bit polar and cartesian form complex numbers

@olwmc
Copy link
Author

olwmc commented Nov 19, 2023

This is probably ready for review and revision. I want to do randomized testing for polar form but I'm not sure the best way to do that. Cartesian form was simple enough. Advice here is appreciated.

I would prefer that this is done with Float instead of macros, but Float doesn't have cos and sin and I don't think it's worth it to implement just for this.

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.

1 participant