In mathematics, we learned that a constant function is periodic but does not have a smallest positive period (fundamental period). Consequently, I conclude that a constant signal has no frequency. However, in physics, we learn that a constant signal is a sinusoid with a frequency of zero. I don't understand because if the frequency were zero, then by definition $f=\frac 1 T$, the fundamental period would be infinite.
What am I missing exactly?