OLD | NEW |
| (Empty) |
1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm), | |
2 // | |
3 // ==================================================== | |
4 // Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved. | |
5 // | |
6 // Developed at SunSoft, a Sun Microsystems, Inc. business. | |
7 // Permission to use, copy, modify, and distribute this | |
8 // software is freely granted, provided that this notice | |
9 // is preserved. | |
10 // ==================================================== | |
11 // | |
12 // The original source code covered by the above license above has been | |
13 // modified significantly by Google Inc. | |
14 // Copyright 2014 the V8 project authors. All rights reserved. | |
15 // | |
16 // The following is a straightforward translation of fdlibm routines | |
17 // by Raymond Toy (rtoy@google.com). | |
18 | |
19 (function(global, utils) { | |
20 | |
21 "use strict"; | |
22 | |
23 %CheckIsBootstrapping(); | |
24 | |
25 // ------------------------------------------------------------------- | |
26 // Imports | |
27 | |
28 var GlobalMath = global.Math; | |
29 | |
30 utils.Import(function(from) {}); | |
31 | |
32 //------------------------------------------------------------------- | |
33 | |
34 utils.InstallFunctions(GlobalMath, DONT_ENUM, []); | |
35 | |
36 }) | |
OLD | NEW |