pub trait Computable: Send + Sync {
// Required method
fn evaluate(&self, precision: u64) -> RnsRational;
}Expand description
An oracle that can approximate a real number to arbitrary precision.
Required Methods§
Sourcefn evaluate(&self, precision: u64) -> RnsRational
fn evaluate(&self, precision: u64) -> RnsRational
A rational r with |value - r| < 10^(-precision).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".