|  | @@ -1913,7 +1913,8 @@ static TEST_CASES: &[((i128,), u64)] = &[
 | 
											
												
													
														|  |  fn floattidf() {
 |  |  fn floattidf() {
 | 
											
												
													
														|  |      for &((a,), b) in TEST_CASES {
 |  |      for &((a,), b) in TEST_CASES {
 | 
											
												
													
														|  |          let b_ = __floattidf(a);
 |  |          let b_ = __floattidf(a);
 | 
											
												
													
														|  | -        assert_eq!(((a,), b), ((a,), to_u64(b_)));
 |  | 
 | 
											
												
													
														|  | 
 |  | +        let diff = if to_u64(b_) > b { to_u64(b_) - b } else { b - to_u64(b_) };
 | 
											
												
													
														|  | 
 |  | +        assert_eq!(((a,), b, true), ((a,), b, diff <= 1));
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  "
 |  |  "
 | 
											
										
											
												
													
														|  | @@ -2244,7 +2245,8 @@ static TEST_CASES: &[((u128,), u64)] = &[
 | 
											
												
													
														|  |  fn floatuntidf() {
 |  |  fn floatuntidf() {
 | 
											
												
													
														|  |      for &((a,), b) in TEST_CASES {
 |  |      for &((a,), b) in TEST_CASES {
 | 
											
												
													
														|  |          let b_ = __floatuntidf(a);
 |  |          let b_ = __floatuntidf(a);
 | 
											
												
													
														|  | -        assert_eq!(((a,), b), ((a,), to_u64(b_)));
 |  | 
 | 
											
												
													
														|  | 
 |  | +        let diff = if to_u64(b_) > b { to_u64(b_) - b } else { b - to_u64(b_) };
 | 
											
												
													
														|  | 
 |  | +        assert_eq!(((a,), b, true), ((a,), b, diff <= 1));
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  "
 |  |  "
 |