Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The type of the numerator and the denumerator are both integer/unsigned integer. Therefore, the division operator corresponds to integer division. This commit makes the numerator a double to get the expected result.
- Loading branch information