News for hackers. Stuff that matters.
Re:Worst Bug Ever by manojlds on Monday January 21, 2013 @10:49AM (#5091944)
If that is the worst bug ever, I would die a happy programmer. Btw, why would anyone use the 3*i form when there is the much clearer 3i form?
Re:Worst Bug Ever by daeken on Monday January 21, 2013 @11:20AM (#5092086)
What if you're dealing in imaginary units that aren't constant? E.g. foo*i.
Re:Worst Bug Ever by manojlds on Monday January 21, 2013 @11:57AM (#5092286)
Ah, right. I am surprised there is not a better syntax for it though.
Re:Worst Bug Ever by Stwerp on Monday January 21, 2013 @12:15PM (#5092388)
It should still be ' foo * 1j '
Re:Worst Bug Ever by lazugod on Monday January 21, 2013 @12:23PM (#5092445)
(foo)i, maybe?