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

Side by Side Diff: src/runtime.h

Issue 66703005: Increase precision when finding the remainder after division by pi/2. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 \ 134 \
135 F(NumberToString, 1, 1) \ 135 F(NumberToString, 1, 1) \
136 F(NumberToStringSkipCache, 1, 1) \ 136 F(NumberToStringSkipCache, 1, 1) \
137 F(NumberToInteger, 1, 1) \ 137 F(NumberToInteger, 1, 1) \
138 F(NumberToPositiveInteger, 1, 1) \ 138 F(NumberToPositiveInteger, 1, 1) \
139 F(NumberToIntegerMapMinusZero, 1, 1) \ 139 F(NumberToIntegerMapMinusZero, 1, 1) \
140 F(NumberToJSUint32, 1, 1) \ 140 F(NumberToJSUint32, 1, 1) \
141 F(NumberToJSInt32, 1, 1) \ 141 F(NumberToJSInt32, 1, 1) \
142 F(NumberToSmi, 1, 1) \ 142 F(NumberToSmi, 1, 1) \
143 F(AllocateHeapNumber, 0, 1) \ 143 F(AllocateHeapNumber, 0, 1) \
144 F(HeapNumberFromHex, 1, 1) \
144 \ 145 \
145 /* Arithmetic operations */ \ 146 /* Arithmetic operations */ \
146 F(NumberAdd, 2, 1) \ 147 F(NumberAdd, 2, 1) \
147 F(NumberSub, 2, 1) \ 148 F(NumberSub, 2, 1) \
148 F(NumberMul, 2, 1) \ 149 F(NumberMul, 2, 1) \
149 F(NumberDiv, 2, 1) \ 150 F(NumberDiv, 2, 1) \
150 F(NumberMod, 2, 1) \ 151 F(NumberMod, 2, 1) \
151 F(NumberUnaryMinus, 1, 1) \ 152 F(NumberUnaryMinus, 1, 1) \
152 F(NumberAlloc, 0, 1) \ 153 F(NumberAlloc, 0, 1) \
153 F(NumberImul, 2, 1) \ 154 F(NumberImul, 2, 1) \
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 848 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
848 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 849 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
849 850
850 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 851 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
851 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 852 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
852 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 853 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
853 854
854 } } // namespace v8::internal 855 } } // namespace v8::internal
855 856
856 #endif // V8_RUNTIME_H_ 857 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698