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

Side by Side Diff: src/diy-fp.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. 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/disassembler.h ('k') | src/double.h » ('j') | no next file with comments »
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_DIY_FP_H_ 5 #ifndef V8_DIY_FP_H_
6 #define V8_DIY_FP_H_ 6 #define V8_DIY_FP_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 void set_f(uint64_t new_value) { f_ = new_value; } 86 void set_f(uint64_t new_value) { f_ = new_value; }
87 void set_e(int new_value) { e_ = new_value; } 87 void set_e(int new_value) { e_ = new_value; }
88 88
89 private: 89 private:
90 static const uint64_t kUint64MSB = static_cast<uint64_t>(1) << 63; 90 static const uint64_t kUint64MSB = static_cast<uint64_t>(1) << 63;
91 91
92 uint64_t f_; 92 uint64_t f_;
93 int e_; 93 int e_;
94 }; 94 };
95 95
96 } } // namespace v8::internal 96 } // namespace internal
97 } // namespace v8
97 98
98 #endif // V8_DIY_FP_H_ 99 #endif // V8_DIY_FP_H_
OLDNEW
« no previous file with comments | « src/disassembler.h ('k') | src/double.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698