Help me understand this simple code snippet to get the magnitude frequency response
It looks like this mul-floor-div is an incorrect attempt to limit some numeric print-out to 3 or 6 decimal places.  Better to do that during the print formatting.