Adjust for changed cast function

This commit is contained in:
est31 2017-05-06 15:29:43 +02:00
parent b91c39da73
commit b870667509
1 changed files with 5 additions and 4 deletions

View File

@ -2135,12 +2135,13 @@ fn floatunsisf() {
Self: Sized, Self: Sized,
{ {
let a = gen_u128(rng); let a = gen_u128(rng);
Some( let f_a = f32(a);
f_a.ok().map(|f| {
Floatuntisf { Floatuntisf {
a, a,
b: to_u32(f32(a)), b: to_u32(f),
}, }
) })
} }
fn to_string(&self, buffer: &mut String) { fn to_string(&self, buffer: &mut String) {