Function demes::round_time_to_integer_generations
source · pub fn round_time_to_integer_generations(
time: Time,
generation_time: GenerationTime
) -> Time
Expand description
Convert a time value into generations, rounding output to closest integer.
Note
Rounds result using f64::round
.