In reply to Kevin Bai.

In terms of multiplication, the square roots of the weights are used to multiply each row of the independent variables and the dependent variable. You can read the full mathematical details in the PROC LOGISTIC doc, but I suggest you start by understanding how weights affect OLS regression.