core library: Disable fpmath tests for i386 ...
This patch disables the floating-point epsilon test for i386 since x87 registers are too imprecise and can't produce the expected results.
This commit is contained in:
parent
31395ec382
commit
40a52cf55c
@ -800,7 +800,7 @@ impl f32 {
|
||||
/// let angle = std::f32::consts::PI;
|
||||
///
|
||||
/// let abs_difference = (angle.to_degrees() - 180.0).abs();
|
||||
///
|
||||
/// # #[cfg(any(not(target_arch = "x86"), target_feature = "sse2"))]
|
||||
/// assert!(abs_difference <= f32::EPSILON);
|
||||
/// ```
|
||||
#[must_use = "this returns the result of the operation, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user