Skip to main content

wowlab_engine_domain/rotation/lower/ops/
direct.rs

1use super::super::super::backend::RotationBackend;
2
3pub(crate) fn positive_float<B>(b: &mut B, offset: usize) -> B::Bool
4where
5    B: RotationBackend,
6{
7    let v = b.load_f64(offset);
8    let zero = b.const_f64(0.0);
9
10    b.cmp_gt_f(v, zero)
11}