Removed fdlibm.js, as it is now an empty shell.
BUG= Review-Url: https://codereview.chromium.org/2106413002 Cr-Commit-Position: refs/heads/master@{#37510}
This commit is contained in:
parent
12291c541d
commit
47f543305e
6
src/third_party/fdlibm/LICENSE
vendored
6
src/third_party/fdlibm/LICENSE
vendored
@ -1,6 +0,0 @@
|
||||
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
|
||||
|
||||
Developed at SunSoft, a Sun Microsystems, Inc. business.
|
||||
Permission to use, copy, modify, and distribute this
|
||||
software is freely granted, provided that this notice
|
||||
is preserved.
|
18
src/third_party/fdlibm/README.v8
vendored
18
src/third_party/fdlibm/README.v8
vendored
@ -1,18 +0,0 @@
|
||||
Name: Freely Distributable LIBM
|
||||
Short Name: fdlibm
|
||||
URL: http://www.netlib.org/fdlibm/
|
||||
Version: 5.3
|
||||
License: Freely Distributable.
|
||||
License File: LICENSE.
|
||||
Security Critical: yes.
|
||||
License Android Compatible: yes.
|
||||
|
||||
Description:
|
||||
This is used to provide a accurate implementation for trigonometric functions
|
||||
used in V8.
|
||||
|
||||
Local Modifications:
|
||||
For the use in V8, fdlibm has been reduced to include only sine, cosine and
|
||||
tangent. To make inlining into generated code possible, a large portion of
|
||||
that has been translated to Javascript. The rest remains in C, but has been
|
||||
refactored and reformatted to interoperate with the rest of V8.
|
36
src/third_party/fdlibm/fdlibm.js
vendored
36
src/third_party/fdlibm/fdlibm.js
vendored
@ -1,36 +0,0 @@
|
||||
// The following is adapted from fdlibm (http://www.netlib.org/fdlibm),
|
||||
//
|
||||
// ====================================================
|
||||
// Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
|
||||
//
|
||||
// Developed at SunSoft, a Sun Microsystems, Inc. business.
|
||||
// Permission to use, copy, modify, and distribute this
|
||||
// software is freely granted, provided that this notice
|
||||
// is preserved.
|
||||
// ====================================================
|
||||
//
|
||||
// The original source code covered by the above license above has been
|
||||
// modified significantly by Google Inc.
|
||||
// Copyright 2014 the V8 project authors. All rights reserved.
|
||||
//
|
||||
// The following is a straightforward translation of fdlibm routines
|
||||
// by Raymond Toy (rtoy@google.com).
|
||||
|
||||
(function(global, utils) {
|
||||
|
||||
"use strict";
|
||||
|
||||
%CheckIsBootstrapping();
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// Imports
|
||||
|
||||
var GlobalMath = global.Math;
|
||||
|
||||
utils.Import(function(from) {});
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
utils.InstallFunctions(GlobalMath, DONT_ENUM, []);
|
||||
|
||||
})
|
Loading…
Reference in New Issue
Block a user