Depends on what type of programs you will be making. If you're going into game programming, it is required to know trigonometry/understand how vectors work (not programming vectors, but math vectors which consists of an angle and a radius).
If you're going to be just doing business programs however, not much math is usually necessary. Just your basic arithmetic.
It is good to have an understanding of how different base systems work.
For example, we know binary is base 2, decimal is base 10, and hex is base 16. I would recommend doing some research if you don't truly have a grasp on this concept.
If you're going to be just doing business programs however, not much math is usually necessary. Just your basic arithmetic.
I would disagree unless you consider calculus as basic arithmetic. Trig should come first though since, for me anyway, not knowing trig made learning calculus hard.
Number theory, logic, and other discrete math helps also. They don't teach those in school just fill up a schedule.