This article on lineman.net discusses the kind of math one needs for doing a computer science degree. I like this line, on what classes to take in high school.
If you have the chance at another course, go with geometry. Geometry will give you the opportunity to learn how to do proofs
Euclid would be proud....
Further discussion ensues on /.