What happens when you divide by 0 in a shader?

Branching is known to be particularly computationally expensive in a OpenGL ES shader. In such a shader, I check if a value is null before dividing by it, for example: if(value == 0.0) other_v...