typo
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
This commit is contained in:
parent
86e88fccd3
commit
681dc38283
@ -297,7 +297,7 @@ fn cast_from_int_like(
|
|||||||
FloatTy::F128 => unimplemented!("f16_f128"),
|
FloatTy::F128 => unimplemented!("f16_f128"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// unsiged int -> float
|
// unsigned int -> float
|
||||||
Float(fty) => match fty {
|
Float(fty) => match fty {
|
||||||
FloatTy::F16 => unimplemented!("f16_f128"),
|
FloatTy::F16 => unimplemented!("f16_f128"),
|
||||||
FloatTy::F32 => Scalar::from_f32(Single::from_u128(v).value),
|
FloatTy::F32 => Scalar::from_f32(Single::from_u128(v).value),
|
||||||
|
Loading…
Reference in New Issue
Block a user