Can you be terrible at math and still
a great programmer?
There is research that shows smart people perform equally well at english and math. Think about it -- When was the last time you read a science journal and the researchers had terrible writing skills? They never do. Take a look at this site. Most people here are programmers and typically the writing is above average.
Its just a matter of interest. Some people become experts in a particular field, math for instance, and then later go into programming. They may attribute their programming skill to being good at math, but really they are just smart people and would excel at whatever they spent time working on.
One of the best programmers I work with has a journalism degree from Auburn. He writes very well. He was never taught programming in school. Yet, he got a job as a programmer and has excelled at it. I attribute this to his natural intelligence.
I have worked with some very smart business types. I am surprised when they can relate to me in ways only fellow programmers typically do. They pick up on technical topics quickly and make the most use of any application. Had some of these people chosen programming as a career I'm sure they would have done well.
Finally, to answer your question: No. I would assume that poor math skills would also lead to poor performance in any activity, programming or otherwise.