Divides a Duration numerator into a fractional number of units of a Duration denominator.
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
The fractional quotient of num divided by den.
| Name | Description |
|---|---|
| num | The numerator duration. |
| den | The denominator duration. |