Trait SignExpr

Source
pub trait SignExpr {
    // Required method
    fn sign_in<T: Arith>(&self) -> Option<Sign>;
}
Expand description

A sign question, written once and evaluable in any Arith.

Implementors build their polynomial from T::from_f64 of the inputs and return None only when T cannot decide. The same code then runs as the interval filter and as the exact fallback.

Required Methods§

Source

fn sign_in<T: Arith>(&self) -> Option<Sign>

The sign in arithmetic T, or None when T cannot decide.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§