Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using floating-point timestamps, use a double instead of a float.
The vast majority of timestamps are held as a pair of 64-bit integers (numerator and denominator). For the few cases where floating point math is used, use a double for the numerator instead of a float (the denominator is always an int64_t.) This will provide more precision.
- Loading branch information
1 parent
fecb776
commit 49ea6b5
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters