Divides a Duration numerator into a fractional number of units of a Duration denominator.
Synopsis
Description
See also the notes on InfiniteDuration() below regarding the behavior of division involving zero and infinite durations.
Example:
double d = absl::FDivDuration(absl::Milliseconds(1500), absl::Seconds(1)); // d == 1.5
Return Value
The fractional quotient of num divided by den.
Parameters
Name |
Description |
num |
The numerator duration. |
den |
The denominator duration. |
Created with MrDocs