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

Side by Side Diff: src/platform.h

Issue 9690010: Ensure consistency of Math.sqrt on Intel platforms. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed suggestions. Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 class Mutex; 94 class Mutex;
95 95
96 double ceiling(double x); 96 double ceiling(double x);
97 double modulo(double x, double y); 97 double modulo(double x, double y);
98 98
99 // Custom implementation of sin, cos, tan and log. 99 // Custom implementation of sin, cos, tan and log.
100 double fast_sin(double input); 100 double fast_sin(double input);
101 double fast_cos(double input); 101 double fast_cos(double input);
102 double fast_tan(double input); 102 double fast_tan(double input);
103 double fast_log(double input); 103 double fast_log(double input);
104 double fast_sqrt(double input);
104 105
105 // Forward declarations. 106 // Forward declarations.
106 class Socket; 107 class Socket;
107 108
108 // ---------------------------------------------------------------------------- 109 // ----------------------------------------------------------------------------
109 // OS 110 // OS
110 // 111 //
111 // This class has static methods for the different platform specific 112 // This class has static methods for the different platform specific
112 // functions. Add methods here to cope with differences between the 113 // functions. Add methods here to cope with differences between the
113 // supported platforms. 114 // supported platforms.
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 Atomic32 active_; 704 Atomic32 active_;
704 PlatformData* data_; // Platform specific data. 705 PlatformData* data_; // Platform specific data.
705 int samples_taken_; // Counts stack samples taken. 706 int samples_taken_; // Counts stack samples taken.
706 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 707 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
707 }; 708 };
708 709
709 710
710 } } // namespace v8::internal 711 } } // namespace v8::internal
711 712
712 #endif // V8_PLATFORM_H_ 713 #endif // V8_PLATFORM_H_
OLDNEW
« src/ia32/codegen-ia32.cc ('K') | « src/mips/codegen-mips.cc ('k') | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698