Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Look at the date the issue was opened and closed...


Ok, that makes more sense than a quaternion library :(


I'm actually surprised Go even has a complex type in it, honestly. The places where you'd use it and the types of programs you'd use Go for don't strike me as overlapping much.


There's been some interesting discussion about the possibility of removing them in go 2 https://github.com/golang/go/issues/19921


C supports complex arithmetic. That was a real surprise for me.


This was added in C99 as part of a set of features that were all motivated by trying to make C a more viable competitor to Fortran for scientific and numeric code.


Did it work, or did nobody migrate from Fortran to C?


My understanding is that 1) the implementations didn't really deliver in the optimization department, and 2) the most crucial features (like VLAs) remained poorly supported and or/buggy for a long time.


The code actually exists and you can patch it into your own Go-compiled-from-source version




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: