Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: src/double.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/diy-fp.h ('k') | src/dtoa.h » ('j') | src/objects.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef V8_DOUBLE_H_ 5 #ifndef V8_DOUBLE_H_
6 #define V8_DOUBLE_H_ 6 #define V8_DOUBLE_H_
7 7
8 #include "src/diy-fp.h" 8 #include "src/diy-fp.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) { 197 if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) {
198 biased_exponent = 0; 198 biased_exponent = 0;
199 } else { 199 } else {
200 biased_exponent = static_cast<uint64_t>(exponent + kExponentBias); 200 biased_exponent = static_cast<uint64_t>(exponent + kExponentBias);
201 } 201 }
202 return (significand & kSignificandMask) | 202 return (significand & kSignificandMask) |
203 (biased_exponent << kPhysicalSignificandSize); 203 (biased_exponent << kPhysicalSignificandSize);
204 } 204 }
205 }; 205 };
206 206
207 } } // namespace v8::internal 207 } // namespace internal
208 } // namespace v8
208 209
209 #endif // V8_DOUBLE_H_ 210 #endif // V8_DOUBLE_H_
OLDNEW
« no previous file with comments | « src/diy-fp.h ('k') | src/dtoa.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698