pub fn ceil<R: Float>(x: R) -> R
Primal ceil.
ceil
The corresponding forward and reverse rules use a zero-gradient policy at every point.
use chainrules::ceil; assert_eq!(ceil(1.1_f64), 2.0);