Coverage Report

Created: 2026-10-28 06:40

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/rust/registry/src/index.crates.io-1949cf8c6b5b557f/sofars-0.6.2/src/ts/taiut1.rs
Line
Count
Source
1
use crate::consts::DAYSEC;
2
0
pub fn taiut1(tai1: f64, tai2: f64, dta: f64) -> Result<(f64, f64), i32> {
3
0
    let dtad = dta / DAYSEC;
4
5
0
    let (ut11, ut12) = if tai1.abs() > tai2.abs() {
6
0
        (tai1, tai2 + dtad)
7
    } else {
8
0
        (tai1 + dtad, tai2)
9
    };
10
11
0
    Ok((ut11, ut12))
12
0
}