''Foam''
I understand that the english word ''foam'' can be used as either a noun or a verb. In the first case, it gets the meaning of ''a mass of small bubbles on the surface of a liquid, etc. (e.g.: ''The water curved round the rocks in bursts of foam''); whereas in the second case, it means ''to produce or emit foam'', as in '' The beer foamed in the glass.''
However, I happened to find another different meaning for this word, which is ''to be extremely angry'' or ''to rage'', as in the phrase ''He was foaming over the disastrous budget cuts.'' Therefore, I would like to know whether this meaning is truly accepted or not. If so, could you tell me if such usage is that of a formal speech or an informal one?
Thank you very much.