Run cargo fmt

This commit is contained in:
Alex Crichton
2019-05-02 12:36:37 -07:00
parent 3f16dadc27
commit ee6c046804
+6 -4
View File
@@ -136,9 +136,10 @@ pub fn powf(x: f32, y: f32) -> f32 {
return x * x;
}
if hy == 0x3f000000
if hy == 0x3f000000
/* y is 0.5 */
&& hx >= 0 {
&& hx >= 0
{
/* x >= +0 */
return sqrtf(x);
}
@@ -295,9 +296,10 @@ pub fn powf(x: f32, y: f32) -> f32 {
/* z < -150 */
// FIXME: check should be (uint32_t)j > 0xc3160000
return sn * TINY * TINY; /* underflow */
} else if j as u32 == 0xc3160000
} else if j as u32 == 0xc3160000
/* z == -150 */
&& p_l <= z - p_h {
&& p_l <= z - p_h
{
return sn * TINY * TINY; /* underflow */
}