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

Side by Side Diff: sdk/lib/math/math.dart

Issue 25785003: "Reverting 28184" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/math/jenkins_smi_hash.dart ('k') | sdk/lib/math/math_sources.gypi » ('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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Mathematical constants and functions, plus a random number generator. 6 * Mathematical constants and functions, plus a random number generator.
7 */ 7 */
8 library dart.math; 8 library dart.math;
9 9
10 part "jenkins_smi_hash.dart";
11 part "point.dart";
12 part "random.dart"; 10 part "random.dart";
13 part "rectangle.dart";
14 11
15 /** 12 /**
16 * Base of the natural logarithms. 13 * Base of the natural logarithms.
17 * 14 *
18 * Typically written as "e". 15 * Typically written as "e".
19 */ 16 */
20 const double E = 2.718281828459045; 17 const double E = 2.718281828459045;
21 18
22 /** 19 /**
23 * Natural logarithm of 10. 20 * Natural logarithm of 10.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 * Returns NaN if [x] is NaN. 241 * Returns NaN if [x] is NaN.
245 */ 242 */
246 external double exp(num x); 243 external double exp(num x);
247 244
248 /** 245 /**
249 * Converts [x] to a double and returns the natural logarithm of the value. 246 * Converts [x] to a double and returns the natural logarithm of the value.
250 * Returns negative infinity if [x] is equal to zero. 247 * Returns negative infinity if [x] is equal to zero.
251 * Returns NaN if [x] is NaN or less than zero. 248 * Returns NaN if [x] is NaN or less than zero.
252 */ 249 */
253 external double log(num x); 250 external double log(num x);
OLDNEW
« no previous file with comments | « sdk/lib/math/jenkins_smi_hash.dart ('k') | sdk/lib/math/math_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698