clausen 1.0.1

Rust implementation of Clausen functions.
Documentation
1
2
3
4
5
6
7
pub fn sl1(x: f64) -> f64 {
    if x == 0.0 {
        x
    } else {
        0.5*(core::f64::consts::PI - x)
    }
}