// f64
impl const FromPatch<f16> for f64 {
fn from_value(v: f16) -> Self {
(v as Self)
}
}
impl const FromPatch<f16> for f128 {
fn from_value(v: f16) -> Self {
(v)
}
}
impl const FromPatch<Self> for f16 {
fn from_value(v: Self) -> Self {
(v as Self)
}
}
impl const FromPatch<f16> for f32 {
fn from_value(v: f16) -> Self {
(v as Self)
}
}
use crate::extensions::FromPatch;