Avoid converting spanloss to double when calculating target power value