Most of the math involved with computer science is based on pure mathematics rather than applied math. Such as branches of pure mathematics are discrete math, graph theory, number theory, combinatoric optimization etc.. which is different than applied mathematics which is along the lines of calculus or algebra. Why? Because any proof of statement is such topics can be programmed. Pure mathematics is essentially programming but without the language barrier.
Most likely like you I am a college student, I finished my freshman year last year and took calc 1-3. It is more or less taught so you have some wiggle room if you change majors. It is also good to know in general for a stem major who will most likely come in contact with calculus in their lifetime. Topics like derivatives and integrals are very good to know as they have many applications.