From the schools I've been to, and the places I've worked, I'd say many CS geeks barely struggled through Math. I was borderline, was planning a split honours, until I discovered how hard math became in third year. Mathematicians SHOULD be able to program, first, because they have to to do their work, second because thinking analytically, handling all circumstances, etc, should come naturally to trained mathematicians. However, they may not do so well at the aspects that involve daily experience.
For some aspects of programming, understanding math is usefull, even essential. Obviously things that are mathematical need math; on the other hand, a flight simulator, interplanetary rocket simulator, nuclear controller or simulator, could effectively isolate the math to certain sections. You would need a specialist in mathematical programming to handle those segments, but anyone could do the rest.
--
TTTATCGGTCGTTATATAGATGTTTGCA