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

Side by Side Diff: src/platform.h

Issue 88133002: Removed dead ceiling function. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | src/platform-posix.cc » ('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 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return intgr; 86 return intgr;
87 } 87 }
88 88
89 #endif // _MSC_VER < 1800 89 #endif // _MSC_VER < 1800
90 90
91 #endif // V8_CC_MSVC 91 #endif // V8_CC_MSVC
92 92
93 namespace v8 { 93 namespace v8 {
94 namespace internal { 94 namespace internal {
95 95
96 double ceiling(double x);
97 double modulo(double x, double y); 96 double modulo(double x, double y);
98 97
99 // Custom implementation of math functions. 98 // Custom implementation of math functions.
100 double fast_sin(double input); 99 double fast_sin(double input);
101 double fast_cos(double input); 100 double fast_cos(double input);
102 double fast_tan(double input); 101 double fast_tan(double input);
103 double fast_log(double input); 102 double fast_log(double input);
104 double fast_exp(double input); 103 double fast_exp(double input);
105 double fast_sqrt(double input); 104 double fast_sqrt(double input);
106 // The custom exp implementation needs 16KB of lookup data; initialize it 105 // The custom exp implementation needs 16KB of lookup data; initialize it
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 char name_[kMaxThreadNameLength]; 591 char name_[kMaxThreadNameLength];
593 int stack_size_; 592 int stack_size_;
594 Semaphore* start_semaphore_; 593 Semaphore* start_semaphore_;
595 594
596 DISALLOW_COPY_AND_ASSIGN(Thread); 595 DISALLOW_COPY_AND_ASSIGN(Thread);
597 }; 596 };
598 597
599 } } // namespace v8::internal 598 } } // namespace v8::internal
600 599
601 #endif // V8_PLATFORM_H_ 600 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « no previous file | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698