Does bmax support complex numbers?
BlitzMax Forums/BlitzMax Beginners Area/Does bmax support complex numbers?
| ||
Does Blitzmax have complex numbers built in? I think that C does (it's in complex.h). I want to toy with some code that uses complex numbers (has real and imaginary parts) but I'm not sure how to set it up so that I can do math with complex numbers in my code. I think I once did this in C by building a class but I don't remember and it's over my head now anyway. I just want to plug and chug. :) TIA -pmc |
| ||
There is no built-in support for complex numbers. And there is no operator overloading, so you can't roll your own in any neat way. |
| ||
Ok. Thanks for the response. I'll have to see if there's a way to fake it somehow... -pmc |