Skip to content

Commit c73dfea

Browse files
committed
Tweak final return in fnan2 as suggested
1 parent 4edb28b commit c73dfea

File tree

1 file changed

+1
-2
lines changed
  • compiler-rt/lib/builtins/arm

1 file changed

+1
-2
lines changed

compiler-rt/lib/builtins/arm/fnan2.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ uint32_t __compiler_rt_fnan2(uint32_t a, uint32_t b) {
3333
return b | 0x00400000; // if so, return it with the quiet bit set
3434
if (aadj < 0x00800000) // a is a quiet NaN?
3535
return a; // if so, return it
36-
else // expect (badj < 0x00800000)
37-
return b; // in that case b must be a quiet NaN
36+
return b; // otherwise we expect b must be a quiet NaN
3837
}

0 commit comments

Comments
 (0)