math cleanup: use 1.0f instead of 1.0F