pub trait BernoulliNumbers: FloatElement {
const B2N: &'static [Self];
}Expand description
Static Bernoulli number tables for a float format.
Implemented for f32 and f64 here, and for Compensated<f32> /
Compensated<f64> by thermite-compensated under its special feature.
Required Associated Constants§
Sourceconst B2N: &'static [Self]
const B2N: &'static [Self]
$B_2, B_4, B_6, \ldots$, every even-index Bernoulli number finite in Self,
starting at $B_2$, so that entry i is $B_{2i+2}$.
See the module docs for why the table ends where it does, and why
$B_0$ and $B_1$ are not in it.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".