A quantitative formulation of Sylvester's law of inertia. III