Lines Matching defs:fp
6 let mut fp = ExtendedFloat {
10 rounding::round::<f64, _>(&mut fp, |f, s| {
14 assert_eq!(fp.mant, 0);
15 assert_eq!(fp.exp, 1);
17 let mut fp = ExtendedFloat {
21 rounding::round::<f64, _>(&mut fp, |f, s| {
27 assert_eq!(fp.mant, 1);
28 assert_eq!(fp.exp, 1);
31 let mut fp = ExtendedFloat {
35 rounding::round::<f64, _>(&mut fp, |f, s| {
40 assert_eq!(fp.mant, 0);
41 assert_eq!(fp.exp, 1);
44 let mut fp = ExtendedFloat {
48 rounding::round::<f64, _>(&mut fp, |f, s| {
53 assert_eq!(fp.mant, 2);
54 assert_eq!(fp.exp, 1);
57 let mut fp = ExtendedFloat {
61 rounding::round::<f64, _>(&mut fp, rounding::round_down);
62 assert_eq!(fp.mant, 1);
63 assert_eq!(fp.exp, 1);