OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdarg.h> | 5 #include <stdarg.h> |
6 #include <sys/stat.h> | 6 #include <sys/stat.h> |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/base/functional.h" | 10 #include "src/base/functional.h" |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 if ((u.bits.man_low | u.bits.man_high) != 0) return false; | 428 if ((u.bits.man_low | u.bits.man_high) != 0) return false; |
429 } | 429 } |
430 if (u.bits.exp == 0) { | 430 if (u.bits.exp == 0) { |
431 // Detect +0, and -0 for IEEE double precision floating point. | 431 // Detect +0, and -0 for IEEE double precision floating point. |
432 if ((u.bits.man_low | u.bits.man_high) == 0) return false; | 432 if ((u.bits.man_low | u.bits.man_high) == 0) return false; |
433 } | 433 } |
434 return true; | 434 return true; |
435 } | 435 } |
436 | 436 |
437 | 437 |
438 } } // namespace v8::internal | 438 } // namespace internal |
| 439 } // namespace v8 |
OLD | NEW |