Minor code re-factor for accounting
Prevent possible problem converting from double to uint32_t. Make sure that comparison of double to 1.0 when cast, does not become a uint32_t value of zero by doing the type cast before comparision
Please register or sign in to comment